From 714b9aca8fd914c0443944a450cb3549319074ea Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Sat, 4 May 2024 09:26:27 -0700 Subject: [PATCH] Fix build break in events.rs Fixes #883 --- src/event.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/event.rs b/src/event.rs index b3bf86a5..eb69bcb3 100644 --- a/src/event.rs +++ b/src/event.rs @@ -920,7 +920,6 @@ impl Display for ModifierKeyCode { /// /// On other platforms, the super key is referred to as "Super". fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { - #[cfg(target_os = "macos")] match self { ModifierKeyCode::LeftShift => write!(f, "Left Shift"), ModifierKeyCode::LeftHyper => write!(f, "Left Hyper"),