Fix more clippy warnings

This commit is contained in:
Jonas Platte
2021-08-25 11:30:34 +02:00
committed by Sean McArthur
parent 4be5ec7ffd
commit 2881354c90
6 changed files with 12 additions and 14 deletions

View File

@@ -73,10 +73,10 @@ async fn connect_timeout() {
.build()
.unwrap();
let url = format!("http://10.255.255.1:81/slow");
let url = "http://10.255.255.1:81/slow";
let res = client
.get(&url)
.get(url)
.timeout(Duration::from_millis(1000))
.send()
.await;