From 03dc3b8972f460e40d0b75fc3207cae9fe4f60da Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Fri, 22 Jul 2022 17:54:22 +0530 Subject: feat(ops): V8 Fast Calls (#15122) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- ext/web/timers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/web/timers.rs') 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(state: &mut OpState, _argument: ()) -> f64 +pub fn op_now(state: &mut OpState) -> f64 where TP: TimersPermission + 'static, { -- cgit v1.2.3