diff options
Diffstat (limited to 'runtime/ops')
-rw-r--r-- | runtime/ops/fs.rs | 1 | ||||
-rw-r--r-- | runtime/ops/signal.rs | 1 | ||||
-rw-r--r-- | runtime/ops/web_worker.rs | 2 | ||||
-rw-r--r-- | runtime/ops/worker_host.rs | 1 |
4 files changed, 0 insertions, 5 deletions
diff --git a/runtime/ops/fs.rs b/runtime/ops/fs.rs index a80eeb3ac..cd93d0517 100644 --- a/runtime/ops/fs.rs +++ b/runtime/ops/fs.rs @@ -350,7 +350,6 @@ async fn op_fstat_async( Ok(get_stat(metadata)) } -#[allow(clippy::unnecessary_wraps)] fn op_umask( state: &mut OpState, mask: Option<u32>, diff --git a/runtime/ops/signal.rs b/runtime/ops/signal.rs index 2a72625d9..b3dfb5aab 100644 --- a/runtime/ops/signal.rs +++ b/runtime/ops/signal.rs @@ -56,7 +56,6 @@ impl Resource for SignalStreamResource { } #[cfg(unix)] -#[allow(clippy::unnecessary_wraps)] fn op_signal_bind( state: &mut OpState, signo: i32, diff --git a/runtime/ops/web_worker.rs b/runtime/ops/web_worker.rs index e3ede869d..39aa2c0a9 100644 --- a/runtime/ops/web_worker.rs +++ b/runtime/ops/web_worker.rs @@ -57,7 +57,6 @@ async fn op_worker_get_message( Ok(maybe_data.unwrap_or_else(ZeroCopyBuf::empty)) } -#[allow(clippy::unnecessary_wraps)] fn op_worker_close(state: &mut OpState, _: (), _: ()) -> Result<(), AnyError> { // Notify parent that we're finished let mut handle = state.borrow_mut::<WebWorkerInternalHandle>().clone(); @@ -71,7 +70,6 @@ fn op_worker_close(state: &mut OpState, _: (), _: ()) -> Result<(), AnyError> { /// this same op to pass the error to its own parent (in case /// `e.preventDefault()` was not called in `worker.onerror`). This /// is done until the error reaches the root/ main worker. -#[allow(clippy::unnecessary_wraps)] fn op_worker_unhandled_error( state: &mut OpState, message: String, diff --git a/runtime/ops/worker_host.rs b/runtime/ops/worker_host.rs index a5698fa6e..57d3ac2b8 100644 --- a/runtime/ops/worker_host.rs +++ b/runtime/ops/worker_host.rs @@ -509,7 +509,6 @@ fn op_create_worker( Ok(worker_id) } -#[allow(clippy::unnecessary_wraps)] fn op_host_terminate_worker( state: &mut OpState, id: WorkerId, |