Add test for zero single char names
This commit is contained in:
parent
d3ebd06ec9
commit
512f23fff1
2 changed files with 4 additions and 0 deletions
1
tests/ui-toml/zero_single_char_names/clippy.toml
Normal file
1
tests/ui-toml/zero_single_char_names/clippy.toml
Normal file
|
@ -0,0 +1 @@
|
|||
single-char-binding-names-threshold = 0
|
|
@ -0,0 +1,3 @@
|
|||
#![warn(clippy::many_single_char_names)]
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Reference in a new issue