Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions futures-util/src/stream/stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,9 @@ pub trait StreamExt: Stream {
/// wrapped version of it, similar to the existing `map` methods in the
/// standard library.
///
/// See [`StreamExt::then`](Self::then) if you want to use a closure that
/// returns a future instead of a value.
Comment on lines +340 to +341
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I force-pushed accordingly, WDYT?

///
/// # Examples
///
/// ```
Expand Down Expand Up @@ -481,6 +484,9 @@ pub trait StreamExt: Stream {
/// Note that this function consumes the stream passed into it and returns a
/// wrapped version of it.
///
/// See [`StreamExt::map`](Self::map) if you want to use a closure that
/// returns a value instead of a future.
///
/// # Examples
///
/// ```
Expand Down