Close doc comment
Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
This commit is contained in:
parent
6f1afa7f62
commit
22a4d5ff42
@ -228,7 +228,7 @@ impl Timer {
|
|||||||
/// let mut timer = Timer::from_seconds(1.5, TimerMode::Once);
|
/// let mut timer = Timer::from_seconds(1.5, TimerMode::Once);
|
||||||
/// timer.finish();
|
/// timer.finish();
|
||||||
/// assert_eq!(timer.remaining(), Duration::from_secs(0));
|
/// assert_eq!(timer.remaining(), Duration::from_secs(0));
|
||||||
|
/// ```
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn finish(&mut self) {
|
pub fn finish(&mut self) {
|
||||||
let remaining = self.remaining();
|
let remaining = self.remaining();
|
||||||
|
Loading…
Reference in New Issue
Block a user