From aa25ba26927169f7e3832ce9fdcd627c23e00ac1 Mon Sep 17 00:00:00 2001 From: Hongjie Zhai Date: Thu, 22 Apr 2021 16:58:36 +0900 Subject: [PATCH] fix clippy --- src/client/tab.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/tab.rs b/src/client/tab.rs index 6ba62e07d7..4aa6bcc712 100644 --- a/src/client/tab.rs +++ b/src/client/tab.rs @@ -657,7 +657,7 @@ impl Tab { self.fullscreen_is_active = !self.fullscreen_is_active; } pub fn set_force_render(&mut self) { - for (_, pane) in &mut self.panes { + for pane in self.panes.values_mut() { pane.set_should_render(true); } }