From d1afd99b10f708de04c32a709ac9bf57ac5c0d7e Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Mon, 8 May 2023 17:58:56 -0500 Subject: [PATCH] fix clippy --- packages/html/src/input_data.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/html/src/input_data.rs b/packages/html/src/input_data.rs index 6b994d5f0..28d182fdc 100644 --- a/packages/html/src/input_data.rs +++ b/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 {