summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-11-11 21:03:34 +0100
committerHampusM <hampus@hampusmat.com>2024-11-11 21:03:34 +0100
commit17f63d9859e1c82a30c07bf110cf2b9872e2427e (patch)
tree14ba14325cd4148a091260407e08888a772d7311
parentbd6ca069999352012ca8664db199213e9b3b3269 (diff)
refactor(ecs): remove unnecessary imports of crate as ecs
-rw-r--r--ecs/src/event/component.rs2
-rw-r--r--ecs/src/stats.rs2
2 files changed, 0 insertions, 4 deletions
diff --git a/ecs/src/event/component.rs b/ecs/src/event/component.rs
index 62e7c4d..40cd20d 100644
--- a/ecs/src/event/component.rs
+++ b/ecs/src/event/component.rs
@@ -119,7 +119,5 @@ where
type Return = Accumulator::With;
}
-use crate as ecs;
-
#[derive(Debug, Component)]
struct ComponentForId;
diff --git a/ecs/src/stats.rs b/ecs/src/stats.rs
index 410610f..56a5c32 100644
--- a/ecs/src/stats.rs
+++ b/ecs/src/stats.rs
@@ -1,7 +1,5 @@
use ecs_macros::Sole;
-use crate as ecs;
-
#[derive(Debug, Default, Sole)]
#[non_exhaustive]
pub struct Stats