Skip to content

Commit 370ea4f

Browse files
committed
small nit
1 parent f47198a commit 370ea4f

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
@@ -563,12 +563,12 @@ impl SystemStage {
563563
}
564564
}
565565

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

0 commit comments

Comments
 (0)