We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cbe636 commit 192e442Copy full SHA for 192e442
crates/bevy_ecs/src/identifier/masks.rs
@@ -94,7 +94,7 @@ impl IdentifierMask {
94
// SAFETY:
95
// - The rhs is masked to never be a value greater than the mask, allowing
96
// the overflow to be tracked/accounted for.
97
- // - Adding the overflow flag will offet overflows to start at 1 instead of 0
+ // - Adding the overflow flag will offset overflows to start at 1 instead of 0
98
// - The sum of 0x3FFF_FFFF + 1 (overflow) == 1
99
// - The sum of Ox3FFF_FFFF + 0x3FFF_FFFF == 0x3FFF_FFFF
100
// - If the operation doesn't overflow at 30 bits, no offsetting takes place
0 commit comments