change function name to reflect what it does
This commit is contained in:
parent
9cdb354cba
commit
bc9cd71480
@ -87,7 +87,7 @@ impl Run{
|
|||||||
RunState::Created=>Err(Error::NotStarted),
|
RunState::Created=>Err(Error::NotStarted),
|
||||||
RunState::Started{timer}=>{
|
RunState::Started{timer}=>{
|
||||||
self.state=RunState::Finished{
|
self.state=RunState::Finished{
|
||||||
timer:timer.pause(time),
|
timer:timer.into_paused(time),
|
||||||
};
|
};
|
||||||
Ok(())
|
Ok(())
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user