Evan Almloff 2 lat temu
rodzic
commit
d1afd99b10
1 zmienionych plików z 1 dodań i 0 usunięć
  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 {