Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Improve example for TryStreamExt::try_flatten. #2540

Merged
merged 3 commits into from
Dec 30, 2021

Conversation

kevincox
Copy link
Contributor

The previous example was confusing because it didn't show what happened to Err(4). I also added some more examples to show that entries after Err(_) are preserved.

The previous example was confusing because it didn't show what happened to `Err(4)`. I also added some more examples to show that entries after `Err(_)` are preserved.
@kevincox kevincox requested a review from taiki-e as a code owner December 23, 2021 14:40
Copy link
Member

@taiki-e taiki-e left a comment

Choose a reason for hiding this comment

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

Thanks!

@taiki-e taiki-e merged commit 5406a5e into rust-lang:master Dec 30, 2021
taiki-e pushed a commit that referenced this pull request Feb 6, 2022
The previous example was confusing because it didn't show what happened to `Err(4)`. I also added some more examples to show that entries after `Err(_)` are preserved.
@taiki-e taiki-e mentioned this pull request Feb 6, 2022
taiki-e pushed a commit that referenced this pull request Feb 6, 2022
The previous example was confusing because it didn't show what happened to `Err(4)`. I also added some more examples to show that entries after `Err(_)` are preserved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants