Skip to content

Commit 192e442

Browse files
committed
fix typo in generation increment comments
1 parent 6cbe636 commit 192e442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/identifier/masks.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl IdentifierMask {
9494
// SAFETY:
9595
// - The rhs is masked to never be a value greater than the mask, allowing
9696
// the overflow to be tracked/accounted for.
97-
// - Adding the overflow flag will offet overflows to start at 1 instead of 0
97+
// - Adding the overflow flag will offset overflows to start at 1 instead of 0
9898
// - The sum of 0x3FFF_FFFF + 1 (overflow) == 1
9999
// - The sum of Ox3FFF_FFFF + 0x3FFF_FFFF == 0x3FFF_FFFF
100100
// - If the operation doesn't overflow at 30 bits, no offsetting takes place

0 commit comments

Comments
 (0)