mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-25 18:36:30 +00:00
refactor: fix clippy::needless_borrows_for_generic_args
(#190)
This commit is contained in:
parent
28a13232c0
commit
6d14d78d7a
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue