mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
Fixed formating.
This commit is contained in:
parent
de01fe352b
commit
527bdc57b9
@ -133,7 +133,7 @@ impl Ticker {
|
||||
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.
|
||||
pub fn reset(&mut self) {
|
||||
self.expires_at = Instant::now() + self.duration;
|
||||
|
Loading…
Reference in New Issue
Block a user