Skip to content

Commit a75fe38

Browse files
authored
stream: fix documentation on filter_map (tokio-rs#2511)
1 parent adce911 commit a75fe38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokio/src/stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ pub trait StreamExt: Stream {
303303
/// As values of this stream are made available, the provided function will
304304
/// be run on them. If the predicate `f` resolves to
305305
/// [`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.
306+
/// it resolves to [`None`], then the value value will be skipped.
307307
///
308308
/// Note that this function consumes the stream passed into it and returns a
309309
/// wrapped version of it, similar to [`Iterator::filter_map`] method in the

0 commit comments

Comments
 (0)