chore: cargo fmt, clippy

This commit is contained in:
Gurwinder Singh
2019-08-17 09:07:32 +05:30
committed by Sean McArthur
parent e72d6dc189
commit f46840f3fa
43 changed files with 785 additions and 870 deletions

View File

@@ -1,6 +1,6 @@
use bytes::IntoBuf;
use http::Request;
use h2::client::{ResponseFuture, SendRequest};
use http::Request;
/// Extend the `h2::client::SendRequest` type with convenience methods.
pub trait SendRequestExt {
@@ -22,7 +22,7 @@ where
.expect("valid uri");
let (fut, _tx) = self
.send_request(req, /*eos =*/true)
.send_request(req, /*eos =*/ true)
.expect("send_request");
fut