1+ use  crate :: world:: entity_change:: { EntityChange ,  EntityChanges } ; 
12use  crate :: { 
23    archetype:: { Archetype ,  Archetypes } , 
34    bundle:: Bundle , 
@@ -14,9 +15,8 @@ use crate::{
1415use  bevy_ptr:: { ThinSlicePtr ,  UnsafeCellDeref } ; 
1516use  bevy_utils:: all_tuples; 
1617use  core:: { cell:: UnsafeCell ,  marker:: PhantomData } ; 
17- use  std:: cell:: RefCell ; 
1818use  smallvec:: SmallVec ; 
19- use  crate :: world :: entity_change :: { EntityChange ,   EntityChanges } ; 
19+ use  std :: cell :: RefCell ; 
2020
2121/// Types that can be fetched from a [`World`] using a [`Query`]. 
2222/// 
@@ -1431,7 +1431,7 @@ unsafe impl<'__w, T: Component> ReadOnlyQueryData for Ref<'__w, T> {}
14311431/// The [`WorldQuery::Fetch`] type for `&mut T`. 
14321432pub  struct  WriteFetch < ' w ,  T :  Component >  { 
14331433    component_id :  ComponentId , 
1434-     changes :      & ' w  RefCell < EntityChanges > , 
1434+     changes :  & ' w  RefCell < EntityChanges > , 
14351435    components :  StorageSwitch < 
14361436        T , 
14371437        // T::STORAGE_TYPE = StorageType::Table 
@@ -1571,10 +1571,7 @@ unsafe impl<'__w, T: Component> WorldQuery for &'__w mut T {
15711571                let  caller = unsafe  {  _callers. get ( table_row. as_usize ( ) )  } ; 
15721572
15731573                Mut  { 
1574-                     on_change :  Some ( ( 
1575-                         EntityChange :: new ( entity,  fetch. component_id ) , 
1576-                         fetch. changes , 
1577-                     ) ) , 
1574+                     on_change :  Some ( ( EntityChange :: new ( entity,  fetch. component_id ) ,  fetch. changes ) ) , 
15781575                    value :  component. deref_mut ( ) , 
15791576                    ticks :  TicksMut  { 
15801577                        added :  added. deref_mut ( ) , 
@@ -1592,10 +1589,7 @@ unsafe impl<'__w, T: Component> WorldQuery for &'__w mut T {
15921589                    unsafe  {  sparse_set. get_with_ticks ( entity) . debug_checked_unwrap ( )  } ; 
15931590
15941591                Mut  { 
1595-                     on_change :  Some ( ( 
1596-                         EntityChange :: new ( entity,  fetch. component_id ) , 
1597-                         fetch. changes , 
1598-                     ) ) , 
1592+                     on_change :  Some ( ( EntityChange :: new ( entity,  fetch. component_id ) ,  fetch. changes ) ) , 
15991593                    value :  component. assert_unique ( ) . deref_mut ( ) , 
16001594                    ticks :  TicksMut :: from_tick_cells ( ticks,  fetch. last_run ,  fetch. this_run ) , 
16011595                    #[ cfg( feature = "track_change_detection" ) ]  
0 commit comments