summaryrefslogtreecommitdiffstats
path: root/native
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 /native
parent4425839aa421a80a8a0612ee2e15ece57b2c62b9 (diff)
downloadiced-b0705d2f4c06c13bcc4397ae1d4f29264c3e08c2.tar.gz
iced-b0705d2f4c06c13bcc4397ae1d4f29264c3e08c2.tar.bz2
iced-b0705d2f4c06c13bcc4397ae1d4f29264c3e08c2.zip
Fix latest `clippy` lints
Diffstat (limited to '')
-rw-r--r--native/src/event.rs4
-rw-r--r--native/src/window/event.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/native/src/event.rs b/native/src/event.rs
index 27540a25..bcfaf891 100644
--- a/native/src/event.rs
+++ b/native/src/event.rs
@@ -29,14 +29,14 @@ pub enum Event {
}
/// A platform specific event
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Clone, PartialEq, Eq)]
pub enum PlatformSpecific {
/// A MacOS specific event
MacOS(MacOS),
}
/// Describes an event specific to MacOS
-#[derive(Debug, Clone, PartialEq)]
+#[derive(Debug, Clone, PartialEq, Eq)]
pub enum MacOS {
/// Triggered when the app receives an URL from the system
///
diff --git a/native/src/window/event.rs b/native/src/window/event.rs
index 691af29a..86321ac0 100644
--- a/native/src/window/event.rs
+++ b/native/src/window/event.rs
@@ -1,7 +1,7 @@
use std::path::PathBuf;
/// A window-related event.
-#[derive(PartialEq, Clone, Debug)]
+#[derive(PartialEq, Eq, Clone, Debug)]
pub enum Event {
/// A window was moved.
Moved {