mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
stream: fix typo in peekable docs (#6130)
This commit is contained in:
parent
61fcc3bc0b
commit
161ecec156
@ -1180,7 +1180,7 @@ pub trait StreamExt: Stream {
|
||||
ChunksTimeout::new(self, max_size, duration)
|
||||
}
|
||||
|
||||
/// Turns the stream into a peekable stream, whose first element can be peeked at without being
|
||||
/// Turns the stream into a peekable stream, whose next element can be peeked at without being
|
||||
/// consumed.
|
||||
/// ```rust
|
||||
/// use tokio_stream::{self as stream, StreamExt};
|
||||
|
Loading…
x
Reference in New Issue
Block a user