Allow mut_from_ref
This commit is contained in:
parent
5272be399b
commit
4e5f6e4fd1
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue