We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5a6446 commit 593e028Copy full SHA for 593e028
clippy_config/src/conf.rs
@@ -648,7 +648,7 @@ fn deserialize(file: &SourceFile) -> TryConf {
648
extend_vec_if_indicator_present(&mut conf.conf.doc_valid_idents, DEFAULT_DOC_VALID_IDENTS);
649
extend_vec_if_indicator_present(&mut conf.conf.disallowed_names, DEFAULT_DISALLOWED_NAMES);
650
// TODO: THIS SHOULD BE TESTED, this comment will be gone soon
651
- if conf.conf.allowed_idents_below_min_chars.contains(&"..".to_owned()) {
+ if conf.conf.allowed_idents_below_min_chars.contains("..") {
652
conf.conf
653
.allowed_idents_below_min_chars
654
.extend(DEFAULT_ALLOWED_IDENTS_BELOW_MIN_CHARS.iter().map(ToString::to_string));
0 commit comments