From 7735602bfaacfcc0b78169a36ee7e6bebbdb143d Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 2 Apr 2023 13:36:13 -0700 Subject: [PATCH] suppress dead code warning for locate_app_wide_key_assignment It is used, just not currently on all platforms, and I want to compile and verify it on linux which I use most often. --- wezterm-gui/src/inputmap.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/wezterm-gui/src/inputmap.rs b/wezterm-gui/src/inputmap.rs index abb839ecd..3b41b6d1f 100644 --- a/wezterm-gui/src/inputmap.rs +++ b/wezterm-gui/src/inputmap.rs @@ -396,6 +396,7 @@ impl InputMap { /// This is used to figure out whether an application-wide keyboard shortcut /// can be safely configured for this action, without interfering with any /// transient key_table mappings. + #[allow(dead_code)] pub fn locate_app_wide_key_assignment( &self, action: &KeyAssignment,