about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMarcin Serwin <toxyxer@gmail.com>2020-04-15 17:58:26 +0200
committerMarcin Serwin <toxyxer@gmail.com>2020-04-15 17:58:26 +0200
commitce372c17cd705c9537e07662d5b2ccdbc41741b3 (patch)
tree4180ba4cd529f5beff00c4ca0d0e2552d6ce76f2
parent512f23fff1c8261ce537578b519f0c313f0ba174 (diff)
downloadrust-ce372c17cd705c9537e07662d5b2ccdbc41741b3.tar.gz
rust-ce372c17cd705c9537e07662d5b2ccdbc41741b3.zip
Change default many single char names threshold
-rw-r--r--clippy_lints/src/utils/conf.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/conf.rs b/clippy_lints/src/utils/conf.rs
index 722104e5b52..5ad5983872d 100644
--- a/clippy_lints/src/utils/conf.rs
+++ b/clippy_lints/src/utils/conf.rs
@@ -135,7 +135,7 @@ define_Conf! {
     /// Lint: TYPE_COMPLEXITY. The maximum complexity a type can have
     (type_complexity_threshold, "type_complexity_threshold": u64, 250),
     /// Lint: MANY_SINGLE_CHAR_NAMES. The maximum number of single char bindings a scope may have
-    (single_char_binding_names_threshold, "single_char_binding_names_threshold": u64, 5),
+    (single_char_binding_names_threshold, "single_char_binding_names_threshold": u64, 4),
     /// Lint: BOXED_LOCAL. The maximum size of objects (in bytes) that will be linted. Larger objects are ok on the heap
     (too_large_for_stack, "too_large_for_stack": u64, 200),
     /// Lint: ENUM_VARIANT_NAMES. The minimum number of enum variants for the lints about variant names to trigger