We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c496f4e commit d3ebd06Copy full SHA for d3ebd06
clippy_lints/src/non_expressive_names.rs
@@ -93,7 +93,7 @@ impl<'a, 'tcx> SimilarNamesLocalVisitor<'a, 'tcx> {
93
fn check_single_char_names(&self) {
94
let num_single_char_names = self.single_char_names.iter().flatten().count();
95
let threshold = self.lint.single_char_binding_names_threshold;
96
- if num_single_char_names as u64 >= threshold {
+ if num_single_char_names as u64 > threshold {
97
let span = self
98
.single_char_names
99
.iter()
0 commit comments