port all optional features to 2018-edition

This commit is contained in:
Daniel Eades
2019-08-08 18:47:12 +01:00
committed by Sean McArthur
parent 4773408ae4
commit 3ba4b6eadf
20 changed files with 103 additions and 104 deletions

View File

@@ -81,7 +81,7 @@ fn write_timeout_large_body() {
read_closes: true
};
let cursor = ::std::io::Cursor::new(body.into_bytes());
let cursor = std::io::Cursor::new(body.into_bytes());
let url = format!("http://{}/write-timeout", server.addr());
let err = client
.post(&url)