Enable clippy::nonminimal_bool (#8755)

This PR enables the
[`clippy::nonminimal_bool`](https://rust-lang.github.io/rust-clippy/master/index.html#/nonminimal_bool)
rule and fixes the outstanding violations.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 22:57:37 -05:00 committed by GitHub
parent 2f876471a1
commit 191fcf67d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 6 additions and 5 deletions

View file

@ -105,7 +105,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::never_loop",
"clippy::non_canonical_clone_impl",
"clippy::non_canonical_partial_ord_impl",
"clippy::nonminimal_bool",
"clippy::redundant_closure_call",
"clippy::redundant_guards",
"clippy::reversed_empty_ranges",