Skip to content

Commit 3431335

Browse files
add missing into_inner to ReflectMut (#3841)
`Mut<T>`, `ResMut<T>` etc. have `.into_inner()` methods, but `ReflectMut` doesn't for some reason.
1 parent 1477765 commit 3431335

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/bevy_ecs/src/change_detection.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,3 +197,5 @@ pub struct ReflectMut<'a> {
197197

198198
#[cfg(feature = "bevy_reflect")]
199199
change_detection_impl!(ReflectMut<'a>, dyn Reflect,);
200+
#[cfg(feature = "bevy_reflect")]
201+
impl_into_inner!(ReflectMut<'a>, dyn Reflect,);

0 commit comments

Comments
 (0)