summaryrefslogtreecommitdiff
path: root/runtime/ops/process.rs
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-09-11 17:12:33 -0600
committerGitHub <noreply@github.com>2023-09-11 17:12:33 -0600
commitbfd230fd78ef7867eec75e6b21715f51e72e7a23 (patch)
tree82e608291c571f2ea6a2448ba935f35d7ce0c0f0 /runtime/ops/process.rs
parentbdeb4bddbf5cabd04abe906388f5ebfe64a84c53 (diff)
chore: update inner #\![allow] to #[allow] (#20463)
Functions should generally be annotated with `#[allow]` blocks rather than using inner `#![allow]` annotations.
Diffstat (limited to 'runtime/ops/process.rs')
-rw-r--r--runtime/ops/process.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/process.rs b/runtime/ops/process.rs
index acfd0dc5c..cef4f77f8 100644
--- a/runtime/ops/process.rs
+++ b/runtime/ops/process.rs
@@ -336,11 +336,11 @@ fn op_spawn_child(
// TODO(bartlomieju): op2 doesn't support clippy allows
#[op]
+#[allow(clippy::await_holding_refcell_ref)]
async fn op_spawn_wait(
state: Rc<RefCell<OpState>>,
rid: ResourceId,
) -> Result<ChildStatus, AnyError> {
- #![allow(clippy::await_holding_refcell_ref)]
let resource = state
.borrow_mut()
.resource_table