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. --- cli/tools/repl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli') diff --git a/cli/tools/repl/mod.rs b/cli/tools/repl/mod.rs index 05c822e11..fb0891fa6 100644 --- a/cli/tools/repl/mod.rs +++ b/cli/tools/repl/mod.rs @@ -27,12 +27,12 @@ use editor::ReplEditor; use session::EvaluationOutput; use session::ReplSession; +#[allow(clippy::await_holding_refcell_ref)] async fn read_line_and_poll( repl_session: &mut ReplSession, message_handler: &mut RustylineSyncMessageHandler, editor: ReplEditor, ) -> Result { - #![allow(clippy::await_holding_refcell_ref)] let mut line_fut = spawn_blocking(move || editor.readline()); let mut poll_worker = true; let notifications_rc = repl_session.notifications.clone(); -- cgit v1.2.3