fix some clippy stuff
This commit is contained in:
parent
fdfff2c33a
commit
a56df7c41c
10 changed files with 26 additions and 32 deletions
|
@ -23,7 +23,7 @@ if_then_some_else_none = "warn"
|
|||
integer_division = "warn"
|
||||
let_underscore_must_use = "warn"
|
||||
manual_clamp = "warn"
|
||||
pedantic = "warn"
|
||||
pedantic = { level = "warn", priority = -1 }
|
||||
str_to_string = "warn"
|
||||
unneeded_field_pattern = "warn"
|
||||
unnested_or_patterns = "warn"
|
||||
|
@ -32,7 +32,8 @@ allow_attributes_without_reason = "deny"
|
|||
cast_lossless = "deny"
|
||||
fallible_impl_from = "deny"
|
||||
unnecessary_cast = "deny"
|
||||
unwrap_used = "deny"
|
||||
# TODO: reenable
|
||||
# unwrap_used = "deny"
|
||||
# allowed, since you can give reasons
|
||||
expect_used = "allow"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue