diff --git a/src/ecs_hooks.rs b/src/ecs_hooks.rs index 8821587..72ee020 100644 --- a/src/ecs_hooks.rs +++ b/src/ecs_hooks.rs @@ -18,6 +18,7 @@ use std::any::TypeId; #[derive(Default)] pub(crate) struct EcsSubscriptions { pub resources: Box>>, + #[allow(clippy::type_complexity)] pub events: Box bool>, HashSet)>>, pub world_and_queries: Box>, } diff --git a/src/events.rs b/src/events.rs index 1c83915..d0858d3 100644 --- a/src/events.rs +++ b/src/events.rs @@ -47,6 +47,7 @@ pub struct EventReaders { } impl EventReaders { + #[allow(clippy::too_many_arguments)] pub fn read_events( &mut self, click: &Events>, diff --git a/src/parse_attributes.rs b/src/parse_attributes.rs index 58b7ff4..0fb7b34 100644 --- a/src/parse_attributes.rs +++ b/src/parse_attributes.rs @@ -8,6 +8,7 @@ use bevy::{ }; use std::f32::consts::PI; +#[allow(clippy::too_many_arguments)] pub fn set_attribute( name: &str, value: &str,