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 /runtime/ops/web_worker.rs | |
parent | b6fd39377ee68dda0a5d82ed7f5dba9c61583a43 (diff) |
Remove various unnecessary allow(clippy) declarations (#10971)
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, |