From c5af7ac384ca978ba6f91249ca087eed9bf56c0b Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Wed, 18 Oct 2023 15:18:30 +0300 Subject: [PATCH] Apply suggestions from code review --- src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 4806349..0012a80 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -69,14 +69,12 @@ pub enum HotKeyState { Released, } -/// Contains the id of the triggered [`HotKey`] and the state. /// Describes a global hotkey event emitted when a [`HotKey`] is pressed or released. #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] pub struct GlobalHotKeyEvent { /// Id of the associated [`HotKey`]. pub id: u32, /// State of the associated [`HotKey`]. - /// The event was triggered by the [`HotKey`] changing to this state. pub state: HotKeyState, }