Skip to content

Commit 161ecec

Browse files
authored
stream: fix typo in peekable docs (#6130)
1 parent 61fcc3b commit 161ecec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tokio-stream/src/stream_ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ pub trait StreamExt: Stream {
11801180
ChunksTimeout::new(self, max_size, duration)
11811181
}
11821182

1183-
/// Turns the stream into a peekable stream, whose first element can be peeked at without being
1183+
/// Turns the stream into a peekable stream, whose next element can be peeked at without being
11841184
/// consumed.
11851185
/// ```rust
11861186
/// use tokio_stream::{self as stream, StreamExt};

0 commit comments

Comments
 (0)