Browse Source

fix clippy

Evan Almloff 2 years ago
parent
commit
d1afd99b10
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/html/src/input_data.rs

+ 1 - 0
packages/html/src/input_data.rs

@@ -7,6 +7,7 @@ use keyboard_types::Location;
 
 /// A mouse button type (such as Primary/Secondary)
 // note: EnumSetType also derives Copy and Clone for some reason
+#[allow(clippy::unused_unit)]
 #[derive(EnumSetType, Debug)]
 #[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
 pub enum MouseButton {