From 367696b346fd60d317e4ff9fbb23c23ed46931f5 Mon Sep 17 00:00:00 2001 From: Daniel Rainer Date: Sat, 16 Aug 2025 19:03:04 +0200 Subject: [PATCH] Remove unnecessary `into_iter` call Starting with Rust 1.90, this `into_iter` call triggers the `clippy::useless_conversion` lint. --- src/input_common.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/input_common.rs b/src/input_common.rs index 3f36b0209..a6ae6523b 100644 --- a/src/input_common.rs +++ b/src/input_common.rs @@ -1041,10 +1041,7 @@ fn parse_csi(&mut self, buffer: &mut Vec) -> Option { // // Alternatively, we could relax our exact matching semantics, and make "bind ä" // match the "shift-ä" event, as suggested in the kitty issue. - if caps_lock - && modifiers == Modifiers::SHIFT - && !key.to_uppercase().eq(Some(key).into_iter()) - { + if caps_lock && modifiers == Modifiers::SHIFT && !key.to_uppercase().eq(Some(key)) { modifiers.shift = false; } KeyEvent::new_with(modifiers, key, shifted_key, base_layout_key)