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

Add stream::try_unfold #1977

Merged
merged 1 commit into from Nov 22, 2019
Merged

Add stream::try_unfold #1977

merged 1 commit into from Nov 22, 2019

Conversation

jplatte
Copy link
Contributor

@jplatte jplatte commented Nov 16, 2019

fixes #1952

@cramertj
Copy link
Member

LGTM modulo the FusedStream impl

@jplatte
Copy link
Contributor Author

jplatte commented Nov 22, 2019

Added a field terminated: bool that tracks whether the stream has terminated to implement the desired FusedStream semantics and rebased.

@cramertj cramertj merged commit bef6d84 into rust-lang:master Nov 22, 2019
@cramertj
Copy link
Member

Thanks!

@jplatte jplatte mentioned this pull request Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce stream::try_unfold
2 participants