chore: enable warning on some enabled-by-default Clippy lints
This commit is contained in:
parent
89d8962b23
commit
9c24b1c8ca
1 changed files with 16 additions and 0 deletions
16
Cargo.toml
16
Cargo.toml
|
|
@ -112,3 +112,19 @@ assets = [
|
||||||
["README.md", "usr/share/doc/oxipng/", "644"],
|
["README.md", "usr/share/doc/oxipng/", "644"],
|
||||||
["CHANGELOG.md", "usr/share/doc/oxipng/", "644"],
|
["CHANGELOG.md", "usr/share/doc/oxipng/", "644"],
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
unnecessary_semicolon = "warn"
|
||||||
|
use_self = "warn"
|
||||||
|
ignored_unit_patterns = "warn"
|
||||||
|
unseparated_literal_suffix = "warn"
|
||||||
|
missing_const_for_fn = "warn"
|
||||||
|
redundant_closure_for_method_calls = "warn"
|
||||||
|
option_if_let_else = "warn"
|
||||||
|
redundant_clone = "warn"
|
||||||
|
semicolon_if_nothing_returned = "warn"
|
||||||
|
cloned_instead_of_copied = "warn"
|
||||||
|
if_not_else = "warn"
|
||||||
|
useless_let_if_seq = "warn"
|
||||||
|
manual_let_else = "warn"
|
||||||
|
map_unwrap_or = "warn"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue