Skip to content

Conversation

@taiki-e
Copy link
Member

@taiki-e taiki-e commented Feb 13, 2021

Closes #2137

This PR is marked as a draft because based on #2335.
See the second commit for actual changes in this PR.

@taiki-e taiki-e added the A-stream Area: futures::stream label Feb 13, 2021
@taiki-e taiki-e added this to the futures-0.4 milestone Feb 13, 2021
@taiki-e taiki-e force-pushed the 0.4-stream-try-fold-for-each branch 2 times, most recently from 36e93ad to 176c0be Compare February 13, 2021 20:52
@taiki-e taiki-e marked this pull request as ready for review February 26, 2021 02:53
@taiki-e taiki-e force-pushed the 0.4-stream-try-fold-for-each branch 2 times, most recently from b097349 to 5817ede Compare February 26, 2021 02:58
@taiki-e taiki-e requested a review from Nemo157 February 26, 2021 03:02
@taiki-e taiki-e force-pushed the 0.4-stream-try-fold-for-each branch from b9d507d to 64d43e2 Compare April 10, 2021 05:17
@taiki-e taiki-e changed the title 0.4: Move try_fold, try_for_each, and try_for_each_concurrent to StreamExt Move try_fold, try_for_each, and try_for_each_concurrent to StreamExt Apr 10, 2021
@taiki-e taiki-e merged commit c90f68d into rust-lang:master Apr 10, 2021
@taiki-e taiki-e deleted the 0.4-stream-try-fold-for-each branch April 10, 2021 05:28
michaelbeaumont added a commit to michaelbeaumont/futures-rs that referenced this pull request Mar 14, 2025
This is the `try_` version of `StreamExt::scan` from master, where the
accumulator argument is by value as opposed to by reference, see rust-lang#2171.
Additionally, it's placed on `StreamExt` as opposed to `TryStreamExt`, see rust-lang#2342.
michaelbeaumont added a commit to michaelbeaumont/futures-rs that referenced this pull request Mar 14, 2025
This is the `try_` version of `StreamExt::scan` from master, where the
accumulator argument is by value as opposed to by reference, see rust-lang#2171.
Additionally, it's placed on `StreamExt` as opposed to `TryStreamExt`, see rust-lang#2342.
michaelbeaumont added a commit to michaelbeaumont/futures-rs that referenced this pull request Mar 14, 2025
This is the `try_` version of `StreamExt::scan` from master, where the
accumulator argument is by value as opposed to by reference, see rust-lang#2171.
Additionally, it's placed on `StreamExt` as opposed to `TryStreamExt`, see rust-lang#2342.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-stream Area: futures::stream breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement try_fold, try_for_each on all Streams instead.

1 participant