Suppress clippy warnings
This commit is contained in:
parent
e582d45df9
commit
6bc4725e22
|
@ -18,6 +18,7 @@ use std::any::TypeId;
|
|||
#[derive(Default)]
|
||||
pub(crate) struct EcsSubscriptions {
|
||||
pub resources: Box<HashMap<ComponentId, HashSet<ScopeId>>>,
|
||||
#[allow(clippy::type_complexity)]
|
||||
pub events: Box<HashMap<TypeId, (Box<dyn Fn(&World) -> bool>, HashSet<ScopeId>)>>,
|
||||
pub world_and_queries: Box<HashSet<ScopeId>>,
|
||||
}
|
||||
|
|
|
@ -47,6 +47,7 @@ pub struct EventReaders {
|
|||
}
|
||||
|
||||
impl EventReaders {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn read_events(
|
||||
&mut self,
|
||||
click: &Events<Pointer<Click>>,
|
||||
|
|
|
@ -8,6 +8,7 @@ use bevy::{
|
|||
};
|
||||
use std::f32::consts::PI;
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn set_attribute(
|
||||
name: &str,
|
||||
value: &str,
|
||||
|
|
Loading…
Reference in New Issue