diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-06-15 13:22:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-15 19:22:28 +0200 |
commit | 9c42b5e03b6500aaf38b37b208ad9ae1ba2bbaf3 (patch) | |
tree | 0e92b77eda7126ed8169b168de343b6a19f6a7c4 /extensions/timers/lib.rs | |
parent | b6fd39377ee68dda0a5d82ed7f5dba9c61583a43 (diff) |
Remove various unnecessary allow(clippy) declarations (#10971)
Diffstat (limited to 'extensions/timers/lib.rs')
-rw-r--r-- | extensions/timers/lib.rs | 4 |
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, |