Skip to content

Commit

Permalink
Add a documenting comment to the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
james7132 authored Dec 13, 2023
1 parent cf0c8a6 commit d43b896
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_ecs/src/storage/blob_vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ mod tests {

let mut q = world.query::<&Zst>();
for zst in q.iter(&world) {
// Ensure that the references returned are properly aligned.
assert_eq!(zst as *const Zst as usize % mem::align_of::<Zst>(), 0);
count += 1;
}
Expand Down

0 comments on commit d43b896

Please sign in to comment.