Skip to content

Commit 5f15c0e

Browse files
committed
small nit
1 parent 3c5c991 commit 5f15c0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/bevy_ecs/src/schedule/stage.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,12 +562,12 @@ impl SystemStage {
562562
}
563563
}
564564

565-
/// All system and component change ticks are scanned for risk of delta overflow once the world
566-
/// counter has incremented at least [`CHECK_TICK_THRESHOLD`](crate::change_detection::CHECK_TICK_THRESHOLD)
565+
/// All system and component change ticks are scanned once the world counter has incremented
566+
/// at least [`CHECK_TICK_THRESHOLD`](crate::change_detection::CHECK_TICK_THRESHOLD)
567567
/// times since the previous `check_tick` scan.
568568
///
569569
/// During each scan, any change ticks older than [`MAX_CHANGE_AGE`](crate::change_detection::MAX_CHANGE_AGE)
570-
/// are clamped to that difference, preventing potential false positives due to overflow.
570+
/// are clamped to that age. This prevents false positives from appearing due to overflow.
571571
fn check_change_ticks(&mut self, world: &mut World) {
572572
let change_tick = world.change_tick();
573573
let ticks_since_last_check = change_tick.wrapping_sub(self.last_tick_check);

0 commit comments

Comments
 (0)