Skip to content

Commit b43d700

Browse files
authored
Fix clippy warnings in warp-key-value-store (#637)
1 parent 7be16d2 commit b43d700

File tree

1 file changed

+3
-3
lines changed
  • examples/warp-key-value-store/src

1 file changed

+3
-3
lines changed

examples/warp-key-value-store/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,22 +193,22 @@ mod tests {
193193
let client = reqwest::Client::builder().gzip(true).build().unwrap();
194194

195195
let response = client
196-
.get(&format!("http://{}/foo", addr))
196+
.get(format!("http://{}/foo", addr))
197197
.send()
198198
.await
199199
.unwrap();
200200
assert_eq!(response.status(), StatusCode::NOT_FOUND);
201201

202202
let response = client
203-
.post(&format!("http://{}/foo", addr))
203+
.post(format!("http://{}/foo", addr))
204204
.body("Hello, World!")
205205
.send()
206206
.await
207207
.unwrap();
208208
assert_eq!(response.status(), StatusCode::OK);
209209

210210
let response = client
211-
.get(&format!("http://{}/foo", addr))
211+
.get(format!("http://{}/foo", addr))
212212
.send()
213213
.await
214214
.unwrap();

0 commit comments

Comments
 (0)