summaryrefslogtreecommitdiff
path: root/ext/web/timers.rs
diff options
context:
space:
mode:
authorAapo Alasuutari <aapo.alasuutari@gmail.com>2022-07-26 20:34:08 +0300
committerGitHub <noreply@github.com>2022-07-26 19:34:08 +0200
commitb4b4e5980be5e49211673b4d01c9f7d04f8572d4 (patch)
tree5814e1ff333135b39a54521d89ef7df1a6db7506 /ext/web/timers.rs
parent2e1d6d35081f17cec220a11b3578b135fb42df91 (diff)
chore(ops): Remove unused arguments from ops (#15315)
Diffstat (limited to 'ext/web/timers.rs')
-rw-r--r--ext/web/timers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/timers.rs b/ext/web/timers.rs
index f57baa559..ebef717ba 100644
--- a/ext/web/timers.rs
+++ b/ext/web/timers.rs
@@ -28,7 +28,7 @@ pub type StartTime = Instant;
// If the High precision flag is not set, the
// nanoseconds are rounded on 2ms.
#[op]
-pub fn op_now<TP>(state: &mut OpState, _argument: ()) -> f64
+pub fn op_now<TP>(state: &mut OpState) -> f64
where
TP: TimersPermission + 'static,
{