Skip to content

Commit cf86f27

Browse files
committed
Fix doc for Timer::percent_left (#6198)
# Objective - Fix a mistake in documentation.
1 parent 6b75589 commit cf86f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_time/src/timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ impl Timer {
328328
self.elapsed().as_secs_f32() / self.duration().as_secs_f32()
329329
}
330330

331-
/// Returns the percentage of the timer remaining time (goes from 0.0 to 1.0).
331+
/// Returns the percentage of the timer remaining time (goes from 1.0 to 0.0).
332332
///
333333
/// # Examples
334334
/// ```

0 commit comments

Comments
 (0)