Skip to content

Commit

Permalink
similar_names: allow "iter" and "item"
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeier committed Aug 7, 2021
1 parent 176df7c commit bc9459f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/non_expressive_names.rs
Expand Up @@ -126,6 +126,7 @@ const ALLOWED_TO_BE_SIMILAR: &[&[&str]] = &[
&["qpath", "path"],
&["lit", "lint"],
&["wparam", "lparam"],
&["iter", "item"],
];

struct SimilarNamesNameVisitor<'a, 'tcx, 'b>(&'b mut SimilarNamesLocalVisitor<'a, 'tcx>);
Expand Down

0 comments on commit bc9459f

Please sign in to comment.