We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pat_0 | ... pat_n
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
Tracking issue: rust-lang/rust#54883 RFC: rust-lang/rfcs#2535
The implementation history is available in the tracking issue, and I'm available if there are questions.
The text was updated successfully, but these errors were encountered:
Merge #3074
f8d6d6f
3074: Or patterns r=matthewjasper a=matthewjasper Works towards #2458 Co-authored-by: Matthew Jasper <[email protected]>
fn foo(x: Option<u8>) { match x { Some(0 | 1..=255) | None => {} } }
parses fine.
Sorry, something went wrong.
No branches or pull requests
Tracking issue: rust-lang/rust#54883
RFC: rust-lang/rfcs#2535
The implementation history is available in the tracking issue, and I'm available if there are questions.
The text was updated successfully, but these errors were encountered: