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.
This commit is contained in:
Wez Furlong committed 2023-04-02 13:36:13 -07:00
1 parent b853d00cff
commit 7735602bfa
1 file changed
+1
+1
View File
@@ -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,