edition 2018, clippy, fmt

This commit is contained in:
Martin Algesten
2018-12-18 13:14:29 +01:00
parent a0428d3331
commit 5ba6b3cd4d
17 changed files with 97 additions and 116 deletions

View File

@@ -39,8 +39,8 @@ fn agent_pool() {
let state = lock.as_mut().unwrap();
let pool = state.pool();
assert_eq!(pool.len(), 1);
let foo = format!("{:?}", pool.get("s3.amazonaws.com", 443));
assert_eq!(foo, "Some(Stream[https])"); // not a great way of testing.
let f = format!("{:?}", pool.get("s3.amazonaws.com", 443));
assert_eq!(f, "Some(Stream[https])"); // not a great way of testing.
}
// req 2 should be done with a reused connection