diff --git a/src/user_input.rs b/src/user_input.rs index d25d1dc9..71ce6849 100644 --- a/src/user_input.rs +++ b/src/user_input.rs @@ -21,6 +21,8 @@ use crate::{ /// For example, this may store mouse, keyboard or gamepad input, including cross-device chords! /// /// Suitable for use in an [`InputMap`](crate::input_map::InputMap) +// TODO: https://github.com/bevyengine/bevy/issues/3392 +#[allow(clippy::large_enum_variant)] #[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Reflect)] pub enum UserInput { /// A single button @@ -360,8 +362,6 @@ impl From for UserInput { /// require traits that are not object-safe. /// /// Please contact the maintainers if you need support for another type! -// TODO: https://github.com/bevyengine/bevy/issues/3392 -#[allow(clippy::large_enum_variant)] #[non_exhaustive] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Serialize, Deserialize, Reflect)] pub enum InputKind {