diff --git a/src/run.rs b/src/run.rs index d74569b..e4884e5 100644 --- a/src/run.rs +++ b/src/run.rs @@ -87,7 +87,7 @@ impl Run{ RunState::Created=>Err(Error::NotStarted), RunState::Started{timer}=>{ self.state=RunState::Finished{ - timer:timer.pause(time), + timer:timer.into_paused(time), }; Ok(()) },