summaryrefslogtreecommitdiff
path: root/ecs/src/component
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/component
parent9e057e9249fb5a8a9f3b2ba00a993049f733c9dd (diff)
refactor(ecs): make system::Param trait not unsafe
Diffstat (limited to 'ecs/src/component')
-rw-r--r--ecs/src/component/local.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/component/local.rs b/ecs/src/component/local.rs
index 20627bf..aac4255 100644
--- a/ecs/src/component/local.rs
+++ b/ecs/src/component/local.rs
@@ -11,7 +11,7 @@ pub struct Local<'world, LocalComponent: Component>
local_component: ComponentRefMut<'world, LocalComponent>,
}
-unsafe impl<'world, LocalComponent> SystemParam<'world> for Local<'world, LocalComponent>
+impl<'world, LocalComponent> SystemParam<'world> for Local<'world, LocalComponent>
where
LocalComponent: Component,
{