Skip to content

Commit 57719fc

Browse files
authored
Add archetypal to Access Debug impl (#12947)
# Objective - The `archetypal` field in `Access` doesn't get printed in debug output ## Solution - Add the field to the impl
1 parent 70ce6f1 commit 57719fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_ecs/src/query/access.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ impl<T: SparseSetIndex + fmt::Debug> fmt::Debug for Access<T> {
7474
.field("writes", &FormattedBitSet::<T>::new(&self.writes))
7575
.field("reads_all", &self.reads_all)
7676
.field("writes_all", &self.writes_all)
77+
.field("archetypal", &FormattedBitSet::<T>::new(&self.archetypal))
7778
.finish()
7879
}
7980
}

0 commit comments

Comments
 (0)