change function name to reflect what it does

This commit is contained in:
Quaternions 2024-07-31 18:28:35 -07:00
parent 9cdb354cba
commit bc9cd71480

View File

@ -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(())
},