From 8eccbbed68bbc4ad8c5f0ab17d905359e88e30fa Mon Sep 17 00:00:00 2001 From: Lily Mara Date: Mon, 18 Apr 2022 11:30:59 -0700 Subject: [PATCH] fixup! Add `await_holding_invalid_type` lint --- 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 022f82ebf51..5c29afb947b 100644 --- a/clippy_lints/src/await_holding_invalid.rs +++ b/clippy_lints/src/await_holding_invalid.rs @@ -159,7 +159,7 @@ declare_clippy_lint! { /// struct OtherCustomLockType; /// async fn foo() { /// let _x = CustomLockType; - /// let _y = CustomLockType; + /// let _y = OtherCustomLockType; /// baz().await; // Lint violation /// } /// ```