summaryrefslogtreecommitdiff
path: root/ecs/src/system.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-12-11 13:52:34 +0100
committerHampusM <hampus@hampusmat.com>2024-12-11 13:52:34 +0100
commit33cc01562c4aef94e605c9dc675450031a840d72 (patch)
treedad9369cb63d637ac5b0f4abd6c36c57a800b9a8 /ecs/src/system.rs
parent9e057e9249fb5a8a9f3b2ba00a993049f733c9dd (diff)
refactor(ecs): make system::Param trait not unsafe
Diffstat (limited to 'ecs/src/system.rs')
-rw-r--r--ecs/src/system.rs2
1 files changed, 1 insertions, 1 deletions
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;