From 00055d6af92d59a86eb00f110c77c699a562d33e Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 22 Feb 2024 20:02:48 +0100 Subject: chore(ecs): add must_use attribute to System::initialize --- ecs/src/system.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'ecs') 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: 'static type Input; + #[must_use] fn initialize(self, input: Self::Input) -> Self; fn run(&mut self, component_storage: &mut ComponentStorage); -- cgit v1.2.3-18-g5258