refactor: fix `clippy::needless_borrows_for_generic_args` (#190)
parent
28a13232c0
commit
6d14d78d7a
|
@ -199,7 +199,7 @@ async fn assert_retry_on_request_timeout() {
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let resp = client
|
let resp = client
|
||||||
.get(&format!("{}/foo", server.uri()))
|
.get(format!("{}/foo", server.uri()))
|
||||||
.timeout(std::time::Duration::from_millis(10))
|
.timeout(std::time::Duration::from_millis(10))
|
||||||
.send()
|
.send()
|
||||||
.await
|
.await
|
||||||
|
@ -254,7 +254,7 @@ async fn assert_retry_on_incomplete_message() {
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let resp = client
|
let resp = client
|
||||||
.get(&format!("{}/foo", uri))
|
.get(format!("{}/foo", uri))
|
||||||
.timeout(std::time::Duration::from_millis(100))
|
.timeout(std::time::Duration::from_millis(100))
|
||||||
.send()
|
.send()
|
||||||
.await
|
.await
|
||||||
|
@ -305,7 +305,7 @@ async fn assert_retry_on_hyper_canceled() {
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let resp = client
|
let resp = client
|
||||||
.get(&format!("{}/foo", uri))
|
.get(format!("{}/foo", uri))
|
||||||
.timeout(std::time::Duration::from_millis(100))
|
.timeout(std::time::Duration::from_millis(100))
|
||||||
.send()
|
.send()
|
||||||
.await
|
.await
|
||||||
|
@ -353,7 +353,7 @@ async fn assert_retry_on_connection_reset_by_peer() {
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let resp = client
|
let resp = client
|
||||||
.get(&format!("{}/foo", uri))
|
.get(format!("{}/foo", uri))
|
||||||
.timeout(std::time::Duration::from_millis(100))
|
.timeout(std::time::Duration::from_millis(100))
|
||||||
.send()
|
.send()
|
||||||
.await
|
.await
|
||||||
|
|
Loading…
Reference in New Issue