Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add StreamExt::try_scan #2933

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaelbeaumont
Copy link

@michaelbeaumont michaelbeaumont commented 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 #2171. Additionally, it's placed on StreamExt as opposed to TryStreamExt, see #2342.

Question: can this be backported to 0.3?

@rustbot rustbot added A-stream Area: futures::stream S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels 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 michaelbeaumont changed the base branch from 0.3 to master March 14, 2025 22:06
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-stream Area: futures::stream S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants