ruff/crates/ruff_linter
Andrew Gallant 25853e2377 Allow the if_not_else Clippy lint
Specifically, the [`if_not_else`] lint will sometimes flag
code to change the order of `if` and `else` bodies if this
would allow a `!` to be removed. While perhaps tasteful in
some cases, there are many cases in my experience where this
bows to other competing concerns that impact readability.
(Such as the relative sizes of the `if` and `else` bodies,
or perhaps an ordering that just makes the code flow in a
more natural way.)

[`if_not_else`]: https://rust-lang.github.io/rust-clippy/master/index.html#/if_not_else
2025-09-09 08:49:25 -04:00
..
resources [ruff] Use helper function for empty f-string detection in in-empty-collection (RUF060) (#20249) 2025-09-04 20:20:59 +00:00
src Allow the if_not_else Clippy lint 2025-09-09 08:49:25 -04:00
Cargo.toml Bump 0.12.12 (#20242) 2025-09-04 11:35:56 -05:00