about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLily Mara <54288692+lilymara-onesignal@users.noreply.github.com>2022-04-18 10:31:57 -0700
committerGitHub <noreply@github.com>2022-04-18 10:31:57 -0700
commit6d0baf2b16c709284868c3e3b0809cc336bc6243 (patch)
tree962d78b90002907dd98fb2f4a51aa85b2cd53a61
parent534419282e94e618054815e643932f6f39e48000 (diff)
downloadrust-6d0baf2b16c709284868c3e3b0809cc336bc6243.tar.gz
rust-6d0baf2b16c709284868c3e3b0809cc336bc6243.zip
Update clippy_lints/src/await_holding_invalid.rs
Co-authored-by: llogiq <bogusandre@gmail.com>
-rw-r--r--clippy_lints/src/await_holding_invalid.rs2
1 files changed, 1 insertions, 1 deletions
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]);