From bc9cd714807f585698cbe3450a664d664ab124a0 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 31 Jul 2024 18:28:35 -0700 Subject: [PATCH] change function name to reflect what it does --- src/run.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(()) },