From 33cc01562c4aef94e605c9dc675450031a840d72 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 11 Dec 2024 13:52:34 +0100 Subject: refactor(ecs): make system::Param trait not unsafe --- ecs/src/system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecs/src/system.rs') diff --git a/ecs/src/system.rs b/ecs/src/system.rs index e273428..f266095 100644 --- a/ecs/src/system.rs +++ b/ecs/src/system.rs @@ -153,7 +153,7 @@ impl Debug for TypeErased type TypeErasedRunFn = dyn Fn(&dyn Any, &World) + RefUnwindSafe + UnwindSafe; /// A parameter to a [`System`]. -pub unsafe trait Param<'world> +pub trait Param<'world> { type Input; type Flags; -- cgit v1.2.3-18-g5258