Fix warnings

This commit is contained in:
Carl Lerche
2017-06-27 12:23:57 -07:00
parent 79aa11ad32
commit fee43a09c8
17 changed files with 61 additions and 59 deletions

View File

@@ -1,11 +1,11 @@
use {frame, proto, Frame, Peer, ConnectionError, StreamId};
use {frame, proto, Peer, ConnectionError, StreamId};
use http;
use futures::{Future, Poll};
use tokio_io::{AsyncRead, AsyncWrite};
use std::fmt;
/// In progress H2 connection binding
pub struct Handshake<T> {
// TODO: unbox
@@ -108,3 +108,9 @@ impl<T> Future for Handshake<T> {
self.inner.poll()
}
}
impl<T: fmt::Debug> fmt::Debug for Handshake<T> {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
write!(fmt, "Handshake")
}
}