Skip to content

Commit d8e822f

Browse files
committed
Better names
1 parent 127bd1f commit d8e822f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/bevy_ecs/src/query/access.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)