-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Use if let instead of match when only matching a single variant (clippy::single_match) #70326
Conversation
r? @estebank (rust_highfive has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #70383) made this pull request unmergeable. Please resolve the merge conflicts. |
905055d
to
2387fe6
Compare
☔ The latest upstream changes (presumably #70404) made this pull request unmergeable. Please resolve the merge conflicts. |
The code changes look ok, please deal with the merge conflicts. |
2387fe6
to
0540adb
Compare
rebased |
☔ The latest upstream changes (presumably #70451) made this pull request unmergeable. Please resolve the merge conflicts. |
0540adb
to
808ea6c
Compare
☔ The latest upstream changes (presumably #70261) made this pull request unmergeable. Please resolve the merge conflicts. |
808ea6c
to
5d8d88f
Compare
r? @Centril |
5d8d88f
to
7d8cc1d
Compare
☔ The latest upstream changes (presumably #70536) made this pull request unmergeable. Please resolve the merge conflicts. |
…py::single_match) Makes code more compact and reduces nestig.
7d8cc1d
to
9bba047
Compare
@rustbot modify labels -S-waiting-on-author, +S-waiting-on-review |
Error: Parsing label command in comment failed: ...ify labels|error: must have : or to as label starter at >| -S-waitin... Please let |
@rustbot modify labels: -S-waiting-on-author, +S-waiting-on-review |
@bors r+ |
📌 Commit 9bba047 has been approved by |
⌛ Testing commit 9bba047 with merge 53409fbd54abf4209ccefc8e44f95b971439fbb1... |
💔 Test failed - checks-azure |
@bors retry |
☀️ Test successful - checks-azure |
Makes code more compact and reduces nesting.