Enable collapsible-if lints
This commit is contained in:
parent
2fb89c9b3e
commit
5826d89b97
1 changed files with 1 additions and 0 deletions
|
@ -830,6 +830,7 @@ module_inception = { level = "deny" }
|
||||||
question_mark = { level = "deny" }
|
question_mark = { level = "deny" }
|
||||||
redundant_closure = { level = "deny" }
|
redundant_closure = { level = "deny" }
|
||||||
declare_interior_mutable_const = { level = "deny" }
|
declare_interior_mutable_const = { level = "deny" }
|
||||||
|
collapsible_if = { level = "warn"}
|
||||||
needless_borrow = { level = "warn"}
|
needless_borrow = { level = "warn"}
|
||||||
# Individual rules that have violations in the codebase:
|
# Individual rules that have violations in the codebase:
|
||||||
type_complexity = "allow"
|
type_complexity = "allow"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue