fixup! Add await_holding_invalid_type lint

This commit is contained in:
Lily Mara 2022-04-18 11:30:59 -07:00
parent 7e26edce65
commit 8eccbbed68

View File

@ -159,7 +159,7 @@ declare_clippy_lint! {
/// struct OtherCustomLockType; /// struct OtherCustomLockType;
/// async fn foo() { /// async fn foo() {
/// let _x = CustomLockType; /// let _x = CustomLockType;
/// let _y = CustomLockType; /// let _y = OtherCustomLockType;
/// baz().await; // Lint violation /// baz().await; // Lint violation
/// } /// }
/// ``` /// ```