diff --git a/examples/hyper-client.rs b/examples/hyper-client.rs index 9e9949b..63676cf 100644 --- a/examples/hyper-client.rs +++ b/examples/hyper-client.rs @@ -136,7 +136,6 @@ impl tokio::io::AsyncRead for SmolStream { .poll_read(cx, buf.initialize_unfilled()) .map_ok(|size| { buf.advance(size); - () }) } SmolStream::Tls(s) => { @@ -144,7 +143,6 @@ impl tokio::io::AsyncRead for SmolStream { .poll_read(cx, buf.initialize_unfilled()) .map_ok(|size| { buf.advance(size); - () }) } } diff --git a/examples/hyper-server.rs b/examples/hyper-server.rs index 8541941..80eb060 100644 --- a/examples/hyper-server.rs +++ b/examples/hyper-server.rs @@ -151,7 +151,6 @@ impl tokio::io::AsyncRead for SmolStream { .poll_read(cx, buf.initialize_unfilled()) .map_ok(|size| { buf.advance(size); - () }); } SmolStream::Tls(s) => { @@ -159,7 +158,6 @@ impl tokio::io::AsyncRead for SmolStream { .poll_read(cx, buf.initialize_unfilled()) .map_ok(|size| { buf.advance(size); - () }); } SmolStream::Handshake(f) => {