Allow mut_from_ref
This commit is contained in:
parent
5272be399b
commit
4e5f6e4fd1
|
|
@ -28,6 +28,7 @@ pub(crate) struct EcsContext {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl EcsContext {
|
impl EcsContext {
|
||||||
|
#[allow(clippy::mut_from_ref)]
|
||||||
pub fn get_world(cx: &ScopeState) -> &mut World {
|
pub fn get_world(cx: &ScopeState) -> &mut World {
|
||||||
unsafe {
|
unsafe {
|
||||||
&mut *cx
|
&mut *cx
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue