diff options
author | HampusM <hampus@hampusmat.com> | 2025-09-05 14:28:54 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-09-05 14:28:54 +0200 |
commit | f5ee3b13a45b58b482a48c97ea6e67b587f1cc52 (patch) | |
tree | 12c5b85f563162e544d449de73e27a133e9f96f0 /ecs/src/system/stateful.rs | |
parent | baccdc99ec470e719bfa836f8e418d106717e868 (diff) |
refactor(ecs): remove unused run fn from system trait
Diffstat (limited to 'ecs/src/system/stateful.rs')
-rw-r--r-- | ecs/src/system/stateful.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ecs/src/system/stateful.rs b/ecs/src/system/stateful.rs index 93bfd5e..7b2b608 100644 --- a/ecs/src/system/stateful.rs +++ b/ecs/src/system/stateful.rs @@ -26,17 +26,6 @@ macro_rules! impl_system { { type Callbacks = Callbacks; - fn run<'this>(&'this self, world: &'world World, metadata: Metadata) - where - 'this: 'world - { - let func = self.func; - - func(#({ - TParam~I::new(&world, &metadata) - },)*); - } - fn finish(self) -> (TypeErased, Self::Callbacks) { let Self { func, local_components } = self; |