Skip to content

Commit 8eccbbe

Browse files
fixup! Add await_holding_invalid_type lint
1 parent 7e26edc commit 8eccbbe

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
@@ -159,7 +159,7 @@ declare_clippy_lint! {
159159
/// struct OtherCustomLockType;
160160
/// async fn foo() {
161161
/// let _x = CustomLockType;
162-
/// let _y = CustomLockType;
162+
/// let _y = OtherCustomLockType;
163163
/// baz().await; // Lint violation
164164
/// }
165165
/// ```

0 commit comments

Comments
 (0)