summaryrefslogtreecommitdiffstats
path: root/core/src/keyboard
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-08-17 16:09:25 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-08-17 16:09:25 +0200
commitb0705d2f4c06c13bcc4397ae1d4f29264c3e08c2 (patch)
tree5d5d707d4b44481e0c19e7d260176b529af62cda /core/src/keyboard
parent4425839aa421a80a8a0612ee2e15ece57b2c62b9 (diff)
downloadiced-b0705d2f4c06c13bcc4397ae1d4f29264c3e08c2.tar.gz
iced-b0705d2f4c06c13bcc4397ae1d4f29264c3e08c2.tar.bz2
iced-b0705d2f4c06c13bcc4397ae1d4f29264c3e08c2.zip
Fix latest `clippy` lints
Diffstat (limited to 'core/src/keyboard')
-rw-r--r--core/src/keyboard/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/keyboard/event.rs b/core/src/keyboard/event.rs
index 38777536..016761af 100644
--- a/core/src/keyboard/event.rs
+++ b/core/src/keyboard/event.rs
@@ -6,7 +6,7 @@ use super::{KeyCode, Modifiers};
/// additional events, feel free to [open an issue] and share your use case!_
///
/// [open an issue]: https://github.com/iced-rs/iced/issues
-#[derive(Debug, Clone, Copy, PartialEq)]
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Event {
/// A keyboard key was pressed.
KeyPressed {