From 9c42b5e03b6500aaf38b37b208ad9ae1ba2bbaf3 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 15 Jun 2021 13:22:28 -0400 Subject: Remove various unnecessary allow(clippy) declarations (#10971) --- extensions/timers/lib.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'extensions') 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( state: &mut OpState, _argument: (), @@ -176,7 +173,6 @@ where Ok(result) } -#[allow(clippy::unnecessary_wraps)] pub fn op_sleep_sync( state: &mut OpState, millis: u64, -- cgit v1.2.3