Skip to content

Commit 2e8bbe7

Browse files
authored
don't explicit use constructor
1 parent 325436b commit 2e8bbe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/style.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ fn generate_problematic_strings(
125125
static PROBLEMATIC_CONSTS_STRINGS: LazyLock<Vec<String>> = LazyLock::new(|| {
126126
generate_problematic_strings(
127127
ROOT_PROBLEMATIC_CONSTS,
128-
&FxHashMap::from_iter(LETTER_DIGIT.iter().copied()),
128+
&LETTER_DIGIT.iter().cloned().collect(),
129129
)
130130
});
131131

0 commit comments

Comments
 (0)