From 161ecec156822811ac994b4de7d2050957c90496 Mon Sep 17 00:00:00 2001 From: Yotam Ofek Date: Sun, 5 Nov 2023 23:51:09 +0200 Subject: [PATCH] stream: fix typo in peekable docs (#6130) --- tokio-stream/src/stream_ext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-stream/src/stream_ext.rs b/tokio-stream/src/stream_ext.rs index 05be5ab2f71..cb640603dd2 100644 --- a/tokio-stream/src/stream_ext.rs +++ b/tokio-stream/src/stream_ext.rs @@ -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};