From c9a07ff61b607478e264fc0581076643c750fe98 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 16 Nov 2024 17:14:20 +0100 Subject: refactor(ecs): remove system param compatability checking --- ecs/src/system/stateful.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ecs/src/system/stateful.rs') diff --git a/ecs/src/system/stateful.rs b/ecs/src/system/stateful.rs index 810a071..536e6ed 100644 --- a/ecs/src/system/stateful.rs +++ b/ecs/src/system/stateful.rs @@ -6,7 +6,6 @@ use seq_macro::seq; use crate::component::Component; use crate::lock::Lock; -use crate::system::util::check_params_are_compatible; use crate::system::{ ComponentRefMut, Into as IntoSystem, @@ -90,10 +89,6 @@ macro_rules! impl_system { where 'this: 'world { - #( - check_params_are_compatible!(I, TParam~I, $c); - )* - let func = self.func; func(#({ -- cgit v1.2.3-18-g5258