Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Oct 18, 2023
1 parent 0c45105 commit c5af7ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit c5af7ac

Please sign in to comment.