bool_comparison
should not fire when testing for false
#1043
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-style
Lint: Belongs in the style lint group
S-needs-discussion
Status: Needs further discussion before merging or work can be started
I think that the
bool_comparison
lint should not fire when the comparison isvar == false
because, at least I, find that version much easier to see when quickly scrolling through the code than the!var
as it is too simple to miss that single!
.However, I'm just putting this here for discussion I'll go turn the lint off in that specific place.
Enjoy your rusty endeavors.
The text was updated successfully, but these errors were encountered: