Fix warnings
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user