Fix iterator related clippy style lint violations (#36437)
Release Notes: - N/A
This commit is contained in:
parent
176c445817
commit
1fbb318714
13 changed files with 21 additions and 33 deletions
|
@ -820,6 +820,11 @@ single_range_in_vec_init = "allow"
|
|||
style = { level = "allow", priority = -1 }
|
||||
|
||||
# Temporary list of style lints that we've fixed so far.
|
||||
iter_cloned_collect = "warn"
|
||||
iter_next_slice = "warn"
|
||||
iter_nth = "warn"
|
||||
iter_nth_zero = "warn"
|
||||
iter_skip_next = "warn"
|
||||
module_inception = { level = "deny" }
|
||||
question_mark = { level = "deny" }
|
||||
redundant_closure = { level = "deny" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue