From 54979a688cba4276b38c589e17076f633322f638 Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Wed, 6 Nov 2024 18:50:58 -0500 Subject: [PATCH] Fix clippy warning --- crates/weaver_common/src/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/weaver_common/src/test.rs b/crates/weaver_common/src/test.rs index e6a03b88..b230de46 100644 --- a/crates/weaver_common/src/test.rs +++ b/crates/weaver_common/src/test.rs @@ -35,7 +35,7 @@ impl ServeStaticFiles { pub fn from(static_path: impl Into) -> Result { let static_path = static_path.into(); let server = Server::new("127.0.0.1:0", move |request| { - match_assets(&request, &static_path) + match_assets(request, &static_path) }) .map_err(|e| HttpServerError { error: e.to_string(),