From bfd230fd78ef7867eec75e6b21715f51e72e7a23 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Mon, 11 Sep 2023 17:12:33 -0600 Subject: chore: update inner #\![allow] to #[allow] (#20463) Functions should generally be annotated with `#[allow]` blocks rather than using inner `#![allow]` annotations. --- runtime/ops/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/ops') 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>, rid: ResourceId, ) -> Result { - #![allow(clippy::await_holding_refcell_ref)] let resource = state .borrow_mut() .resource_table -- cgit v1.2.3