diff --git a/tokio-util/src/io/stream_reader.rs b/tokio-util/src/io/stream_reader.rs index 096c96f30..7569a8b78 100644 --- a/tokio-util/src/io/stream_reader.rs +++ b/tokio-util/src/io/stream_reader.rs @@ -326,7 +326,7 @@ impl StreamReader { } } -impl, E, T> Sink for StreamReader { +impl, B, E, T> Sink for StreamReader { type Error = E; fn poll_ready(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { self.project().inner.poll_ready(cx)