Fix doc for Timer::percent_left (#6198)

# Objective

- Fix a mistake in documentation.
This commit is contained in:
Dan Kov 2022-10-08 14:51:21 +00:00
parent 6b75589e2c
commit cf86f275a9

View file

@ -328,7 +328,7 @@ impl Timer {
self.elapsed().as_secs_f32() / self.duration().as_secs_f32()
}
/// Returns the percentage of the timer remaining time (goes from 0.0 to 1.0).
/// Returns the percentage of the timer remaining time (goes from 1.0 to 0.0).
///
/// # Examples
/// ```