File tree Expand file tree Collapse file tree
crates/bevy_ecs/src/query Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -470,16 +470,16 @@ impl Access {
470470 pub fn try_iter_access (
471471 & self ,
472472 ) -> Result < impl Iterator < Item = ComponentAccessKind > + ' _ , UnboundedAccessError > {
473- let a = self . reads_and_writes ( ) ;
473+ let invertible_set = self . reads_and_writes ( ) ;
474474
475- let InvertibleComponentIdSet :: Included ( b ) = a else {
475+ let InvertibleComponentIdSet :: Included ( component_set ) = invertible_set else {
476476 return Err ( UnboundedAccessError {
477477 writes_inverted : self . writes_inverted ,
478478 read_and_writes_inverted : self . read_and_writes_inverted ,
479479 } ) ;
480480 } ;
481481
482- let reads_and_writes = b . iter ( ) . map ( |index| {
482+ let reads_and_writes = component_set . iter ( ) . map ( |index| {
483483 if self . writes . contains ( index) {
484484 ComponentAccessKind :: Exclusive ( index)
485485 } else {
You can’t perform that action at this time.
0 commit comments