-
Notifications
You must be signed in to change notification settings - Fork 313
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
Allow MultiUnzip on Result<tuple, E> with behaviour like collect()? #996
Comments
Hi there, it seems you'd like to collect into three vectors, throwing away all of them if you encounter an If so, you probably want
The remaining problem then lies in the fact that
But I think the adequate way to solve this would be to implement |
All this raises the question why |
Closing this as per rust-lang/rust#85835 (comment) and rust-lang/rust#85835 (comment). |
I haven't found a way to make a pattern like this work:
It would be great if this could work like collect() to allow short circuiting on an error
The text was updated successfully, but these errors were encountered: