Fix latest clippy lints

This commit is contained in:
Héctor Ramón Jiménez 2022-08-17 16:09:25 +02:00
parent 4425839aa4
commit b0705d2f4c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
6 changed files with 7 additions and 7 deletions

View file

@ -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
///

View file

@ -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 {