diff options
Diffstat (limited to 'runtime/ops/web_worker.rs')
-rw-r--r-- | runtime/ops/web_worker.rs | 2 |
1 files changed, 0 insertions, 2 deletions
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, |