21e6235b4c
Add `needless_if` lint first off: Sorry about the large diff. Seems a ton of tests do this (understandably so). this is basically everything I wanted in #10868, while it doesn't lint *all* unnecessary empty blocks, it lints needless if statements; which are basically the crux of the issue (for me) anyway. I've committed code that includes this far too many times 😅 hopefully clippy can help me out soon closes #10868 changelog: New lint [`needless_if`] |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |