Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuereth committed Nov 6, 2024
1 parent 0d39be9 commit 54979a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/weaver_common/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl ServeStaticFiles {
pub fn from(static_path: impl Into<PathBuf>) -> Result<Self, HttpServerError> {
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(),
Expand Down

0 comments on commit 54979a6

Please sign in to comment.