summaryrefslogtreecommitdiff
path: root/extensions/timers/lib.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-06-15 13:22:28 -0400
committerGitHub <noreply@github.com>2021-06-15 19:22:28 +0200
commit9c42b5e03b6500aaf38b37b208ad9ae1ba2bbaf3 (patch)
tree0e92b77eda7126ed8169b168de343b6a19f6a7c4 /extensions/timers/lib.rs
parentb6fd39377ee68dda0a5d82ed7f5dba9c61583a43 (diff)
Remove various unnecessary allow(clippy) declarations (#10971)
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,