about summary refs log tree commit diff
diff options
context:
space:
mode:
authorKristof Mattei <864376+Kristof-Mattei@users.noreply.github.com>2024-01-14 09:40:14 -0700
committerKristof Mattei <864376+Kristof-Mattei@users.noreply.github.com>2024-01-14 09:40:14 -0700
commitea585ef321b6ba63635984772fe576e6a4e461fc (patch)
tree75ccf7884693840a5eefdf3e483cbb7e2f8fc63a
parentb1c52d502d6c0441c944225287281c70282c1c9b (diff)
downloadrust-ea585ef321b6ba63635984772fe576e6a4e461fc.tar.gz
rust-ea585ef321b6ba63635984772fe576e6a4e461fc.zip
chore: remove unneeded into_iter
-rw-r--r--clippy_lints/src/cargo/multiple_crate_versions.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_lints/src/cargo/multiple_crate_versions.rs b/clippy_lints/src/cargo/multiple_crate_versions.rs
index c487ffb1c82..6b4af6753c3 100644
--- a/clippy_lints/src/cargo/multiple_crate_versions.rs
+++ b/clippy_lints/src/cargo/multiple_crate_versions.rs
@@ -21,7 +21,6 @@ pub(super) fn check(cx: &LateContext<'_>, metadata: &Metadata) {
             // the code below temporarily rectifies this discrepancy
             if p.name
                 .chars()
-                .into_iter()
                 .map(|c| if c == '-' { '_' } else { c })
                 .eq(local_name.as_str().chars())
             {