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.
1 parent adce911 commit a75fe38Copy full SHA for a75fe38
tokio/src/stream/mod.rs
@@ -303,7 +303,7 @@ pub trait StreamExt: Stream {
303
/// As values of this stream are made available, the provided function will
304
/// be run on them. If the predicate `f` resolves to
305
/// [`Some(item)`](Some) then the stream will yield the value `item`, but if
306
- /// it resolves to [`None`] then the next value will be produced.
+ /// it resolves to [`None`], then the value value will be skipped.
307
///
308
/// Note that this function consumes the stream passed into it and returns a
309
/// wrapped version of it, similar to [`Iterator::filter_map`] method in the
0 commit comments