Skip to content

Commit ce372c1

Browse files
committed
Change default many single char names threshold
1 parent 512f23f commit ce372c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/conf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ define_Conf! {
135135
/// Lint: TYPE_COMPLEXITY. The maximum complexity a type can have
136136
(type_complexity_threshold, "type_complexity_threshold": u64, 250),
137137
/// Lint: MANY_SINGLE_CHAR_NAMES. The maximum number of single char bindings a scope may have
138-
(single_char_binding_names_threshold, "single_char_binding_names_threshold": u64, 5),
138+
(single_char_binding_names_threshold, "single_char_binding_names_threshold": u64, 4),
139139
/// Lint: BOXED_LOCAL. The maximum size of objects (in bytes) that will be linted. Larger objects are ok on the heap
140140
(too_large_for_stack, "too_large_for_stack": u64, 200),
141141
/// Lint: ENUM_VARIANT_NAMES. The minimum number of enum variants for the lints about variant names to trigger

0 commit comments

Comments
 (0)