diff options
Diffstat (limited to 'ecs/src/component')
-rw-r--r-- | ecs/src/component/local.rs | 2 |
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, { |