Move State import to top of handlers/mod.rs
https://claude.ai/code/session_01URZjpNNXYVjq99E1msKw1J
change
commit 0a682cddd6ceb6036a33116f6039778765876484
author Claude <noreply@anthropic.com>
date
parent ed749d8c
diff --git a/quire-server/src/quire/web/handlers/mod.rs b/quire-server/src/quire/web/handlers/mod.rs
index 5b5922a..cab63f0 100644
--- a/quire-server/src/quire/web/handlers/mod.rs
+++ b/quire-server/src/quire/web/handlers/mod.rs
@@ -10,6 +10,7 @@ pub use repo::repo_home;
 pub use tree::{tree_view, tree_view_path};
 
 use askama::Template;
+use axum::extract::State;
 use axum::http::{StatusCode, header};
 use axum::response::{Html, IntoResponse, Response};
 
@@ -74,8 +75,6 @@ pub async fn config(State(quire): State<Quire>) -> Response {
     render(&tmpl)
 }
 
-use axum::extract::State;
-
 #[cfg(test)]
 mod tests {
     use axum::body::Body;