mirror of
https://github.com/uutils/coreutils
synced 2024-11-10 07:04:16 +00:00
lint: Enable clippy::if_not_else rule
This commit is contained in:
parent
68e90eacbb
commit
b056e29b06
1 changed files with 6 additions and 5 deletions
|
@ -3,10 +3,11 @@ linker = "x86_64-unknown-redox-gcc"
|
|||
|
||||
[target.'cfg(feature = "cargo-clippy")']
|
||||
rustflags = [
|
||||
"-Wclippy::use_self",
|
||||
"-Wclippy::needless_pass_by_value",
|
||||
"-Wclippy::semicolon_if_nothing_returned",
|
||||
"-Wclippy::single_char_pattern",
|
||||
"-Wclippy::explicit_iter_loop",
|
||||
"-Wclippy::use_self",
|
||||
"-Wclippy::needless_pass_by_value",
|
||||
"-Wclippy::semicolon_if_nothing_returned",
|
||||
"-Wclippy::single_char_pattern",
|
||||
"-Wclippy::explicit_iter_loop",
|
||||
"-Wclippy::if_not_else",
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue