fix(misc): fix clippy warnings

This commit is contained in:
Federico Terzi 2022-08-24 21:19:39 +02:00
parent 1c955fb74f
commit 7a6f0e84f4

View File

@ -20,7 +20,7 @@ pub const KeyPress: c_int = 2;
#[allow(non_upper_case_globals)]
pub const KeyRelease: c_int = 3;
#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[repr(C)]
pub struct XKeyEvent {
pub type_: c_int,
@ -40,7 +40,7 @@ pub struct XKeyEvent {
pub same_screen: Bool,
}
#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[repr(C)]
pub struct XModifierKeymap {
pub max_keypermod: c_int,