Skip to content

Commit f38ea3b

Browse files
committed
Update cliipy arithmetic_side_effects lint for new String path
1 parent 482e4ef commit f38ea3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/clippy/clippy_lints/src/operators/arithmetic_side_effects.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl ArithmeticSideEffects {
3333
allowed_binary.extend([
3434
("f32", FxHashSet::from_iter(["f32"])),
3535
("f64", FxHashSet::from_iter(["f64"])),
36-
("std::string::String", FxHashSet::from_iter(["str"])),
36+
("std::string::string::String", FxHashSet::from_iter(["str"])),
3737
]);
3838
for (lhs, rhs) in &conf.arithmetic_side_effects_allowed_binary {
3939
allowed_binary.entry(lhs).or_default().insert(rhs);

0 commit comments

Comments
 (0)