From 54e53cc9ea0767dfe8a44f92361f68c03f5f038f Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Fri, 12 Feb 2021 21:08:36 +1100 Subject: chore: Update to Rust 1.50.0 (#9479) --- runtime/ops/runtime.rs | 1 + runtime/ops/timers.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'runtime/ops') diff --git a/runtime/ops/runtime.rs b/runtime/ops/runtime.rs index b80067031..4b81c579f 100644 --- a/runtime/ops/runtime.rs +++ b/runtime/ops/runtime.rs @@ -36,6 +36,7 @@ fn op_main_module( Ok(json!(&main)) } +#[allow(clippy::unnecessary_wraps)] fn op_metrics( state: &mut OpState, _args: Value, diff --git a/runtime/ops/timers.rs b/runtime/ops/timers.rs index d53a0c971..a00b04ed0 100644 --- a/runtime/ops/timers.rs +++ b/runtime/ops/timers.rs @@ -85,6 +85,7 @@ pub fn init(rt: &mut deno_core::JsRuntime) { super::reg_json_sync(rt, "op_sleep_sync", op_sleep_sync); } +#[allow(clippy::unnecessary_wraps)] fn op_global_timer_stop( state: &mut OpState, _args: Value, -- cgit v1.2.3