We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
let-else
}
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
https://doc.rust-lang.org/reference/statements.html#let-statements
The text was updated successfully, but these errors were encountered:
Hi, I'm interested in working on this issue. I'd like to make sure I understand the issue.
Are we trying to make sure that the expression following = isn't wrapped in curly braces?
=
For example, is this invalid?
let Some(x) = { Some(10) } else { panic!(""); };
Sorry, something went wrong.
beamandala
Successfully merging a pull request may close this issue.
https://doc.rust-lang.org/reference/statements.html#let-statements
The text was updated successfully, but these errors were encountered: