Removed unnecessary newline.
This commit is contained in:
parent
70662ec4ba
commit
de01fe352b
1 changed files with 1 additions and 2 deletions
|
@ -133,8 +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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue