diff options
| author | Lily Mara <lilymara@onesignal.com> | 2022-04-18 11:30:59 -0700 |
|---|---|---|
| committer | Lily Mara <lilymara@onesignal.com> | 2022-04-18 11:30:59 -0700 |
| commit | 8eccbbed68bbc4ad8c5f0ab17d905359e88e30fa (patch) | |
| tree | ed560bea160c2c2b7780d884f49762a7337dd3fa | |
| parent | 7e26edce65df4e89be23aa22bcb3d3a2db723bf7 (diff) | |
| download | rust-8eccbbed68bbc4ad8c5f0ab17d905359e88e30fa.tar.gz rust-8eccbbed68bbc4ad8c5f0ab17d905359e88e30fa.zip | |
fixup! Add `await_holding_invalid_type` lint
| -rw-r--r-- | clippy_lints/src/await_holding_invalid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 /// } /// ``` |
