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 from_fn(), corresponding to std::iter::from_fn() #20

Merged
merged 1 commit into from
May 13, 2022

Conversation

rawler
Copy link
Contributor

@rawler rawler commented Dec 5, 2019

This function enables construction from a method returning
Result<Option<_>, _. The same can be achieved through using
convert(std::iter::from_fn()) but the function could then not use ? for
error-handling.

This function enables construction from a method returning
`Result<Option<_>, _`. The same can be achieved through using
`convert(std::iter::from_fn())` but the function could then not use `?` for
error-handling.
@rawler
Copy link
Contributor Author

rawler commented Dec 11, 2019

Ping @sfackler

@dpc dpc merged commit 51d9642 into sfackler:master May 13, 2022
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.

2 participants