fixup! Add await_holding_invalid_type
lint
This commit is contained in:
parent
7e26edce65
commit
8eccbbed68
@ -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
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user