summaryrefslogtreecommitdiff
path: root/ecs/src
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-02-22 20:02:48 +0100
committerHampusM <hampus@hampusmat.com>2024-02-22 20:03:03 +0100
commit00055d6af92d59a86eb00f110c77c699a562d33e (patch)
treeea394f1e655e41e61dbbbbadb99206f511e1f4ce /ecs/src
parent88ab4fb9d2345de272c7718437458c4a2943cf8c (diff)
chore(ecs): add must_use attribute to System::initialize
Diffstat (limited to 'ecs/src')
-rw-r--r--ecs/src/system.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ecs/src/system.rs b/ecs/src/system.rs
index 8f4d0b0..22e2215 100644
--- a/ecs/src/system.rs
+++ b/ecs/src/system.rs
@@ -13,6 +13,7 @@ pub trait System<Impl>: 'static
type Input;
+ #[must_use]
fn initialize(self, input: Self::Input) -> Self;
fn run(&mut self, component_storage: &mut ComponentStorage);