Skip to content

Commit 593e028

Browse files
Fix new detected lint
1 parent b5a6446 commit 593e028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_config/src/conf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ fn deserialize(file: &SourceFile) -> TryConf {
648648
extend_vec_if_indicator_present(&mut conf.conf.doc_valid_idents, DEFAULT_DOC_VALID_IDENTS);
649649
extend_vec_if_indicator_present(&mut conf.conf.disallowed_names, DEFAULT_DISALLOWED_NAMES);
650650
// TODO: THIS SHOULD BE TESTED, this comment will be gone soon
651-
if conf.conf.allowed_idents_below_min_chars.contains(&"..".to_owned()) {
651+
if conf.conf.allowed_idents_below_min_chars.contains("..") {
652652
conf.conf
653653
.allowed_idents_below_min_chars
654654
.extend(DEFAULT_ALLOWED_IDENTS_BELOW_MIN_CHARS.iter().map(ToString::to_string));

0 commit comments

Comments
 (0)