From 5b091fa3f0c3a06047d02ca6892f75c3e15040df Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Mon, 13 Jan 2020 20:33:24 +0100 Subject: [PATCH] io: Drop AsyncBufRead bound on BufStream impl (#2108) fixes #2064, #2106 --- tokio/src/io/util/buf_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/io/util/buf_stream.rs b/tokio/src/io/util/buf_stream.rs index d83310e3d..4fc6e725d 100644 --- a/tokio/src/io/util/buf_stream.rs +++ b/tokio/src/io/util/buf_stream.rs @@ -131,7 +131,7 @@ impl AsyncRead for BufStream { } } -impl AsyncBufRead for BufStream { +impl AsyncBufRead for BufStream { fn poll_fill_buf(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { self.project().inner.poll_fill_buf(cx) }