summaryrefslogtreecommitdiff
path: root/ext/web/timers.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-07-22 17:54:22 +0530
committerGitHub <noreply@github.com>2022-07-22 17:54:22 +0530
commit03dc3b8972f460e40d0b75fc3207cae9fe4f60da (patch)
tree410bc92530e34ca2eee8a154f705be85ae9641b3 /ext/web/timers.rs
parent244c00d95b7ec8f30a5e81b743b4b618049b6c37 (diff)
feat(ops): V8 Fast Calls (#15122)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
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,
{