Skip to content

Commit ea585ef

Browse files
chore: remove unneeded into_iter
1 parent b1c52d5 commit ea585ef

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

clippy_lints/src/cargo/multiple_crate_versions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ pub(super) fn check(cx: &LateContext<'_>, metadata: &Metadata) {
2121
// the code below temporarily rectifies this discrepancy
2222
if p.name
2323
.chars()
24-
.into_iter()
2524
.map(|c| if c == '-' { '_' } else { c })
2625
.eq(local_name.as_str().chars())
2726
{

0 commit comments

Comments
 (0)