Skip to content

Commit

Permalink
add missing into_inner to ReflectMut (#3841)
Browse files Browse the repository at this point in the history
`Mut<T>`, `ResMut<T>` etc. have `.into_inner()` methods, but `ReflectMut` doesn't for some reason.
  • Loading branch information
jakobhellermann committed Feb 4, 2022
1 parent 1477765 commit 3431335
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bevy_ecs/src/change_detection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,5 @@ pub struct ReflectMut<'a> {

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

0 comments on commit 3431335

Please sign in to comment.