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. --- ext/web/message_port.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/web') diff --git a/ext/web/message_port.rs b/ext/web/message_port.rs index 47ebdabf7..73214ab8e 100644 --- a/ext/web/message_port.rs +++ b/ext/web/message_port.rs @@ -51,11 +51,11 @@ impl MessagePort { Ok(()) } + #[allow(clippy::await_holding_refcell_ref)] // TODO(ry) remove! pub async fn recv( &self, state: Rc>, ) -> Result, AnyError> { - #![allow(clippy::await_holding_refcell_ref)] // TODO(ry) remove! let mut rx = self .rx .try_borrow_mut() -- cgit v1.2.3