diff --git a/tokio-util/src/io/stream_reader.rs b/tokio-util/src/io/stream_reader.rs index 7569a8b78..849538a50 100644 --- a/tokio-util/src/io/stream_reader.rs +++ b/tokio-util/src/io/stream_reader.rs @@ -169,7 +169,7 @@ where /// Convert a stream of byte chunks into an [`AsyncRead`]. /// /// The item should be a [`Result`] with the ok variant being something that - /// implements the [`Buf`] trait (e.g. `Vec` or `Bytes`). The error + /// implements the [`Buf`] trait (e.g. `Cursor>` or `Bytes`). The error /// should be convertible into an [io error]. /// /// [`Result`]: std::result::Result