Fixed formating.

This commit is contained in:
Frostie314159 2023-09-11 08:04:06 +02:00
parent de01fe352b
commit 527bdc57b9
No known key found for this signature in database
GPG Key ID: 0C2C22C244C8223F

View File

@ -133,7 +133,7 @@ impl Ticker {
Self { expires_at, duration } Self { expires_at, duration }
} }
/// Resets the ticker back to its original state. /// Resets the ticker back to its original state.
/// This causes the ticker to go back to zero, even if the current tick isn't over yet. /// This causes the ticker to go back to zero, even if the current tick isn't over yet.
pub fn reset(&mut self) { pub fn reset(&mut self) {
self.expires_at = Instant::now() + self.duration; self.expires_at = Instant::now() + self.duration;