We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Buf
StreamReader
1 parent a27575f commit 6d410f6Copy full SHA for 6d410f6
tokio-util/src/io/stream_reader.rs
@@ -169,7 +169,7 @@ where
169
/// Convert a stream of byte chunks into an [`AsyncRead`].
170
///
171
/// The item should be a [`Result`] with the ok variant being something that
172
- /// implements the [`Buf`] trait (e.g. `Vec<u8>` or `Bytes`). The error
+ /// implements the [`Buf`] trait (e.g. `Cursor<Vec<u8>>` or `Bytes`). The error
173
/// should be convertible into an [io error].
174
175
/// [`Result`]: std::result::Result
0 commit comments