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

Remove FromFailableIterator trait #19

Merged
merged 1 commit into from
May 13, 2022

Conversation

matklad
Copy link
Contributor

@matklad matklad commented Aug 5, 2019

We can use std::iter::FromIterator instead, which has the advantage of
working with more types out of the box. It also tightens up the
semantics a little bit, because it forbids swallowing an error.

That's just a proof of concept PR. If you are ok with the change in general, I can remove the trait completely.

@sfackler
Copy link
Owner

sfackler commented Aug 5, 2019

Seems pretty plausible to me.

@matklad matklad force-pushed the no-from-failable-iter branch from 3291fe3 to daebbbb Compare August 5, 2019 15:29
We can use std::iter::FromIterator instead, which has the advantage of
working with more types out of the box. It also tightens up the
semantics a little bit, because it forbids swallowing an error.
@matklad matklad force-pushed the no-from-failable-iter branch from daebbbb to dd69f13 Compare August 5, 2019 15:31
@matklad matklad changed the title WIP: remove FromFailableIterator trait Remove FromFailableIterator trait Aug 5, 2019
@matklad
Copy link
Contributor Author

matklad commented Aug 5, 2019

Ok, should be ready for review now!

@dpc dpc merged commit b963fc0 into sfackler:master May 13, 2022
@tamird
Copy link
Contributor

tamird commented May 3, 2023

@sfackler are there plans to release a version that includes this change?

@tamird
Copy link
Contributor

tamird commented May 3, 2023

@dpc ^

@dpc
Copy link
Collaborator

dpc commented May 4, 2023

Looks like I can. I'll try to get to it soon(ish). Please ping me, even daily if I don't.

@tamird
Copy link
Contributor

tamird commented May 11, 2023

@dpc ping.

@dpc
Copy link
Collaborator

dpc commented May 12, 2023

@tamird I've did some cleanups, landed everything, you might want to double check me if you can. hopefully will release this weekend.

@tamird
Copy link
Contributor

tamird commented May 16, 2023

Looks good. Thanks!

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.

4 participants