Skip to content

Commit

Permalink
Add archetypal to Access Debug impl (#12947)
Browse files Browse the repository at this point in the history
# Objective

- The `archetypal` field in `Access` doesn't get printed in debug output

## Solution

- Add the field to the impl
  • Loading branch information
NiseVoid authored Apr 13, 2024
1 parent 70ce6f1 commit 57719fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_ecs/src/query/access.rs
Original file line number Diff line number Diff line change
@@ -74,6 +74,7 @@ impl<T: SparseSetIndex + fmt::Debug> fmt::Debug for Access<T> {
.field("writes", &FormattedBitSet::<T>::new(&self.writes))
.field("reads_all", &self.reads_all)
.field("writes_all", &self.writes_all)
.field("archetypal", &FormattedBitSet::<T>::new(&self.archetypal))
.finish()
}
}

0 comments on commit 57719fc

Please sign in to comment.