summaryrefslogtreecommitdiff
path: root/extensions/timers/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/timers/lib.rs')
-rw-r--r--extensions/timers/lib.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/extensions/timers/lib.rs b/extensions/timers/lib.rs
index 66e7d05ed..43a40e939 100644
--- a/extensions/timers/lib.rs
+++ b/extensions/timers/lib.rs
@@ -100,7 +100,6 @@ impl GlobalTimer {
}
}
-#[allow(clippy::unnecessary_wraps)]
pub fn op_global_timer_stop(
state: &mut OpState,
_args: (),
@@ -118,7 +117,6 @@ pub fn op_global_timer_stop(
//
// See https://github.com/denoland/deno/issues/7599 for more
// details.
-#[allow(clippy::unnecessary_wraps)]
pub fn op_global_timer_start(
state: &mut OpState,
timeout: u64,
@@ -150,7 +148,6 @@ pub async fn op_global_timer(
// since the start time of the deno runtime.
// If the High precision flag is not set, the
// nanoseconds are rounded on 2ms.
-#[allow(clippy::unnecessary_wraps)]
pub fn op_now<TP>(
state: &mut OpState,
_argument: (),
@@ -176,7 +173,6 @@ where
Ok(result)
}
-#[allow(clippy::unnecessary_wraps)]
pub fn op_sleep_sync<TP>(
state: &mut OpState,
millis: u64,