From 5095059f9006c2f3ed3eda5983ff87019544ea0f Mon Sep 17 00:00:00 2001 From: Hojjat Date: Wed, 5 Aug 2026 14:09:24 -0600 Subject: [PATCH] chore: `cargo clippy --fix` --- src/terminal.rs | 2 +- src/terminal_box.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terminal.rs b/src/terminal.rs index 6cb0ce3..55aec3b 100644 --- a/src/terminal.rs +++ b/src/terminal.rs @@ -196,7 +196,7 @@ impl TerminalPaneGrid { } } pub fn unfocus_all_terminals(&self) { - for (_pane, tab_model) in self.panes.panes.iter() { + for tab_model in self.panes.panes.values() { let entity = tab_model.active(); if let Some(terminal) = tab_model.data::>(entity) { let mut terminal = terminal.lock().unwrap(); diff --git a/src/terminal_box.rs b/src/terminal_box.rs index 11a75c7..64b9490 100644 --- a/src/terminal_box.rs +++ b/src/terminal_box.rs @@ -543,7 +543,7 @@ where fn fill( &mut self, renderer: &mut Renderer, - is_focused: bool, + _is_focused: bool, ) { let cosmic_text_to_iced_color = |color: cosmic_text::Color| { Color::from_rgba(