Fix unresolved reference in Doc comment
@@ -107,9 +107,9 @@ impl HotKey {
self
}
- /// Returns `true` if this [`KeyboardEvent`] matches this `HotKey`.
+ /// Returns `true` if this [`KeyEvent`] matches this `HotKey`.
///
- /// [`KeyboardEvent`]: keyboard_types::KeyEvent
+ /// [`KeyEvent`]: KeyEvent
pub fn matches(&self, event: impl Borrow<KeyEvent>) -> bool {
// Should be a const but const bit_or doesn't work here.
let base_mods = Modifiers::SHIFT | Modifiers::CONTROL | Modifiers::ALT | Modifiers::META;
