summaryrefslogtreecommitdiff
path: root/ecs/src/query.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/query.rs
parent9e057e9249fb5a8a9f3b2ba00a993049f733c9dd (diff)
refactor(ecs): make system::Param trait not unsafe
Diffstat (limited to 'ecs/src/query.rs')
-rw-r--r--ecs/src/query.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ecs/src/query.rs b/ecs/src/query.rs
index f3318bd..0a9eca1 100644
--- a/ecs/src/query.rs
+++ b/ecs/src/query.rs
@@ -156,8 +156,7 @@ where
}
}
-unsafe impl<'world, Comps, OptionsT> SystemParam<'world>
- for Query<'world, Comps, OptionsT>
+impl<'world, Comps, OptionsT> SystemParam<'world> for Query<'world, Comps, OptionsT>
where
Comps: ComponentSequence,
OptionsT: Options,