From 38be4745b2647276237f5c761abcd89b97df7679 Mon Sep 17 00:00:00 2001 From: Magic Len Date: Wed, 15 Nov 2023 10:11:11 +0800 Subject: [PATCH] remove unused code --- src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.rs b/src/server.rs index 432b218..3a4498f 100644 --- a/src/server.rs +++ b/src/server.rs @@ -131,7 +131,7 @@ async fn run(socket_file_path: &Path) -> anyhow::Result { uds }; - let app: Router = Router::new() + let app = Router::new() .route("/", any(index_handler)) .layer(SetResponseHeaderLayer::overriding( header::CACHE_CONTROL,