-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Stabilize pattern_parentheses feature #54497
Stabilize pattern_parentheses feature #54497
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
BitXor | BitAnd | BitOr | Shl | Shr => | ||
false, | ||
Eq | Lt | Le | Ne | Gt | Ge => true, | ||
And | Or | Add | Sub | Mul | Div | Rem | BitXor | BitAnd | BitOr | Shl | Shr => false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: It's not super important, but it's always nice to factor out rustfmt
runs into their own commit (it'd be nice if we just rustfmt'd everything ... but that's neither here nor there)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whoops -- yeah this was a mistake on my part -- i was only going to make this change with the typo: de5f6ee#diff-0de6e63ecfba5c83fb06c9e981f292a6R636
and not rustfmt
this file but i guess it slipped through.
Looks good! |
@bors r+ |
📌 Commit a381868 has been approved by |
…ikomatsakis Stabilize pattern_parentheses feature Addresses #51087 . Stabilizes the previously unstable feature `pattern_parentheses` which enables the use of `()` in match patterns.
☀️ Test successful - status-appveyor, status-travis |
Addresses #51087 .
Stabilizes the previously unstable feature
pattern_parentheses
which enables the use of()
in match patterns.