From 681fca5c465191e37714ed07937efec8b0c8b197 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 20 Jun 2024 21:32:46 +0200 Subject: refactor(ecs): fix Clippy lints --- ecs/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ecs/src/lib.rs') diff --git a/ecs/src/lib.rs b/ecs/src/lib.rs index 42cdef3..b883171 100644 --- a/ecs/src/lib.rs +++ b/ecs/src/lib.rs @@ -10,7 +10,7 @@ use std::sync::Arc; use std::vec::Drain; use crate::actions::Action; -use crate::component::storage::ComponentStorage; +use crate::component::storage::Storage as ComponentStorage; use crate::component::{Component, Id as ComponentId, Sequence as ComponentSequence}; use crate::event::{Event, Id as EventId, Ids, Sequence as EventSequence}; use crate::extension::{Collector as ExtensionCollector, Extension}; @@ -62,7 +62,7 @@ impl World .component_storage .write_nonblock() .expect("Failed to acquire read-write component storage lock") - .push_entity(components.into_vec()) + .push_entity(components.into_vec()); } /// Adds a globally shared singleton value. -- cgit v1.2.3-18-g5258