From 6d0baf2b16c709284868c3e3b0809cc336bc6243 Mon Sep 17 00:00:00 2001 From: Lily Mara <54288692+lilymara-onesignal@users.noreply.github.com> Date: Mon, 18 Apr 2022 10:31:57 -0700 Subject: [PATCH] Update clippy_lints/src/await_holding_invalid.rs Co-authored-by: llogiq --- clippy_lints/src/await_holding_invalid.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/await_holding_invalid.rs b/clippy_lints/src/await_holding_invalid.rs index 51dd5f4937a..8f2b67176ec 100644 --- a/clippy_lints/src/await_holding_invalid.rs +++ b/clippy_lints/src/await_holding_invalid.rs @@ -164,7 +164,7 @@ declare_clippy_lint! { #[clippy::version = "1.49.0"] pub AWAIT_HOLDING_INVALID_TYPE, suspicious, - "inside an async function, holding a type across an await point which is not safe to be held across an await point" + "holding a type across an await point which is not allowed to be held as per the configuration" } impl_lint_pass!(AwaitHolding => [AWAIT_HOLDING_LOCK, AWAIT_HOLDING_REFCELL_REF, AWAIT_HOLDING_INVALID_TYPE]);