diff --git a/src/ecs_hooks.rs b/src/ecs_hooks.rs index 744bd40..c99eb22 100644 --- a/src/ecs_hooks.rs +++ b/src/ecs_hooks.rs @@ -28,6 +28,7 @@ pub(crate) struct EcsContext { } impl EcsContext { + #[allow(clippy::mut_from_ref)] pub fn get_world(cx: &ScopeState) -> &mut World { unsafe { &mut *cx