Skip to content

Commit 6d0baf2

Browse files
Update clippy_lints/src/await_holding_invalid.rs
Co-authored-by: llogiq <bogusandre@gmail.com>
1 parent 5344192 commit 6d0baf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/await_holding_invalid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ declare_clippy_lint! {
164164
#[clippy::version = "1.49.0"]
165165
pub AWAIT_HOLDING_INVALID_TYPE,
166166
suspicious,
167-
"inside an async function, holding a type across an await point which is not safe to be held across an await point"
167+
"holding a type across an await point which is not allowed to be held as per the configuration"
168168
}
169169

170170
impl_lint_pass!(AwaitHolding => [AWAIT_HOLDING_LOCK, AWAIT_HOLDING_REFCELL_REF, AWAIT_HOLDING_INVALID_TYPE]);

0 commit comments

Comments
 (0)