rust/clippy_lints
bors 97598e9e8f Auto merge of #10810 - samueltardieu:needless-else, r=llogiq
needless_else: new lint to check for empty `else` clauses

Empty `else` clauses are useless. They happen in the wild and are not linted yet: https://github.com/uutils/coreutils/pull/4880/files

`else` clauses containing or preceded by comments are not linted as the comments might be important.

changelog: [`needless_else`]: new lint
2023-05-23 21:28:40 +00:00
..
src Auto merge of #10810 - samueltardieu:needless-else, r=llogiq 2023-05-23 21:28:40 +00:00
Cargo.toml Auto merge of #10682 - J-ZhengLi:issue10680, r=dswij 2023-05-18 01:46:01 +00:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.