rust-lang / rust-clippy

A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
https://rust-lang.github.io/rust-clippy/
Other
10.89k stars 1.45k forks source link

clippy::single_match(_else) may be machine applicable #12726

Closed kornelski closed 2 weeks ago

kornelski commented 2 weeks ago
changelog: [`single_match`]: make the lint machine-applicable
changelog: [`single_match_else`]: make the lint machine-applicable

The lint doesn't use placeholders. I've tried it on my codebases, and all instances of it applied without problems.

rustbot commented 2 weeks ago

r? @blyxyas

rustbot has assigned @blyxyas. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

blyxyas commented 2 weeks ago

@bors r+

bors commented 2 weeks ago

:pushpin: Commit b700d9c9284a3a2423fb4cd26c31f86b6ca2f41d has been approved by blyxyas

It is now in the queue for this repository.

bors commented 2 weeks ago

:hourglass: Testing commit b700d9c9284a3a2423fb4cd26c31f86b6ca2f41d with merge 9e02abec3eb868bc61801b9f6439fde7b2499d22...

bors commented 2 weeks ago

:sunny: Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test Approved by: blyxyas Pushing 9e02abec3eb868bc61801b9f6439fde7b2499d22 to master...