diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2025-04-25 07:52:07 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2025-04-25 07:52:07 +0000 |
commit | b23225d4f6e4ff0a26bfc40e5b8ad0cd5d725e22 (patch) | |
tree | 22f90cf36e05aecefec4b9ce64a046ed5f9014a6 /tests/api.rs | |
parent | Merge pull request #1490 from svenstaro/dependabot/cargo/all-dependencies-87e... (diff) | |
download | miniserve-b23225d4f6e4ff0a26bfc40e5b8ad0cd5d725e22.tar.gz miniserve-b23225d4f6e4ff0a26bfc40e5b8ad0cd5d725e22.zip |
Fix some clippy lints
Diffstat (limited to 'tests/api.rs')
-rw-r--r-- | tests/api.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/api.rs b/tests/api.rs index 5dc6b52..8c821e2 100644 --- a/tests/api.rs +++ b/tests/api.rs @@ -24,7 +24,7 @@ fn api_dir_size( command.insert("DirSize", dir); let resp = Client::new() - .post(server.url().join(&format!("__miniserve_internal/api"))?) + .post(server.url().join("__miniserve_internal/api")?) .json(&command) .send()? .error_for_status()?; @@ -54,7 +54,7 @@ fn api_dir_size_prevent_path_transversal_attacks( command.insert("DirSize", path); let resp = Client::new() - .post(server.url().join(&format!("__miniserve_internal/api"))?) + .post(server.url().join("__miniserve_internal/api")?) .json(&command) .send()?; |