Skip to content

Commit

Permalink
refactor: fix clippy::needless_borrows_for_generic_args (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb authored Oct 17, 2024
1 parent 28a1323 commit 6d14d78
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions reqwest-retry/tests/all/retry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ async fn assert_retry_on_request_timeout() {
.build();

let resp = client
.get(&format!("{}/foo", server.uri()))
.get(format!("{}/foo", server.uri()))
.timeout(std::time::Duration::from_millis(10))
.send()
.await
Expand Down Expand Up @@ -254,7 +254,7 @@ async fn assert_retry_on_incomplete_message() {
.build();

let resp = client
.get(&format!("{}/foo", uri))
.get(format!("{}/foo", uri))
.timeout(std::time::Duration::from_millis(100))
.send()
.await
Expand Down Expand Up @@ -305,7 +305,7 @@ async fn assert_retry_on_hyper_canceled() {
.build();

let resp = client
.get(&format!("{}/foo", uri))
.get(format!("{}/foo", uri))
.timeout(std::time::Duration::from_millis(100))
.send()
.await
Expand Down Expand Up @@ -353,7 +353,7 @@ async fn assert_retry_on_connection_reset_by_peer() {
.build();

let resp = client
.get(&format!("{}/foo", uri))
.get(format!("{}/foo", uri))
.timeout(std::time::Duration::from_millis(100))
.send()
.await
Expand Down

0 comments on commit 6d14d78

Please sign in to comment.