summaryrefslogtreecommitdiff
path: root/ecs/src/system
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2025-09-05 14:28:54 +0200
committerHampusM <hampus@hampusmat.com>2025-09-05 14:28:54 +0200
commitf5ee3b13a45b58b482a48c97ea6e67b587f1cc52 (patch)
tree12c5b85f563162e544d449de73e27a133e9f96f0 /ecs/src/system
parentbaccdc99ec470e719bfa836f8e418d106717e868 (diff)
refactor(ecs): remove unused run fn from system trait
Diffstat (limited to 'ecs/src/system')
-rw-r--r--ecs/src/system/stateful.rs11
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;