@@ -349,7 +349,7 @@ impl BundleInfo {
349
349
& ' b self ,
350
350
entities : & ' a mut Entities ,
351
351
archetypes : & ' a mut Archetypes ,
352
- components : & mut Components ,
352
+ components : & Components ,
353
353
storages : & ' a mut Storages ,
354
354
archetype_id : ArchetypeId ,
355
355
change_tick : Tick ,
@@ -409,7 +409,7 @@ impl BundleInfo {
409
409
& ' b self ,
410
410
entities : & ' a mut Entities ,
411
411
archetypes : & ' a mut Archetypes ,
412
- components : & mut Components ,
412
+ components : & Components ,
413
413
storages : & ' a mut Storages ,
414
414
change_tick : Tick ,
415
415
) -> BundleSpawner < ' a , ' b > {
@@ -495,7 +495,7 @@ impl BundleInfo {
495
495
& self ,
496
496
archetypes : & mut Archetypes ,
497
497
storages : & mut Storages ,
498
- components : & mut Components ,
498
+ components : & Components ,
499
499
archetype_id : ArchetypeId ,
500
500
) -> ArchetypeId {
501
501
if let Some ( add_bundle_id) = archetypes[ archetype_id] . edges ( ) . get_add_bundle ( self . id ) {
@@ -853,7 +853,7 @@ impl Bundles {
853
853
/// provided [`Components`].
854
854
pub ( crate ) fn init_dynamic_info (
855
855
& mut self ,
856
- components : & mut Components ,
856
+ components : & Components ,
857
857
component_ids : & [ ComponentId ] ,
858
858
) -> ( & BundleInfo , & Vec < StorageType > ) {
859
859
let bundle_infos = & mut self . bundle_infos ;
@@ -883,7 +883,7 @@ impl Bundles {
883
883
/// Panics if the provided [`ComponentId`] does not exist in the provided [`Components`].
884
884
pub ( crate ) fn init_component_info (
885
885
& mut self ,
886
- components : & mut Components ,
886
+ components : & Components ,
887
887
component_id : ComponentId ,
888
888
) -> ( & BundleInfo , StorageType ) {
889
889
let bundle_infos = & mut self . bundle_infos ;
0 commit comments