From 4a0837048cba3028ca3ec136f72fd9c1dcb97edd Mon Sep 17 00:00:00 2001 From: Adamaq01 Date: Sat, 9 Jan 2021 03:29:03 +0100 Subject: [PATCH] Made ReflectMut::Tuple enum variant use a mutable reference (#1226) --- crates/bevy_reflect/src/reflect.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_reflect/src/reflect.rs b/crates/bevy_reflect/src/reflect.rs index 9ae0a06540dd3..28ccf3e428d74 100644 --- a/crates/bevy_reflect/src/reflect.rs +++ b/crates/bevy_reflect/src/reflect.rs @@ -15,7 +15,7 @@ pub enum ReflectRef<'a> { pub enum ReflectMut<'a> { Struct(&'a mut dyn Struct), TupleStruct(&'a mut dyn TupleStruct), - Tuple(&'a dyn Tuple), + Tuple(&'a mut dyn Tuple), List(&'a mut dyn List), Map(&'a mut dyn Map), Value(&'a mut dyn Reflect),