Skip to content

Commit

Permalink
stream: fix typo in peekable docs (#6130)
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamofek authored Nov 5, 2023
1 parent 61fcc3b commit 161ecec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio-stream/src/stream_ext.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 161ecec

Please sign in to comment.