We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
?
for
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
Should the following be allowed?
for item? in my_iter { ... }
Every now and then I encounter the need to iterate over Results and end up having to write the following, which isn't onerous but is not ergonomic:
Result
for item in my_iter { let item = item?; ... }
The text was updated successfully, but these errors were encountered:
This has been requested before: rust-lang/rfcs#2012
Sorry, something went wrong.
@ids1024 thanks for linking to it! I'll close this ticket in favor of that RFC.
No branches or pull requests
Should the following be allowed?
Every now and then I encounter the need to iterate over
Result
s and end up having to write the following, which isn't onerous but is not ergonomic:The text was updated successfully, but these errors were encountered: