diff options
| author | Daniel Smith <daniel.smith@datadoghq.com> | 2021-01-13 16:08:15 -0500 |
|---|---|---|
| committer | Daniel Smith <daniel.smith@datadoghq.com> | 2021-01-13 16:08:15 -0500 |
| commit | 02f99bea87d0a3fe665aa825bccdcce7a8d190e9 (patch) | |
| tree | 573ba6d100c9ed5127a41c0b1ff340b56e414738 | |
| parent | 00586dfdcd10c37cb8b132c72ed0558304955042 (diff) | |
| download | rust-02f99bea87d0a3fe665aa825bccdcce7a8d190e9.tar.gz rust-02f99bea87d0a3fe665aa825bccdcce7a8d190e9.zip | |
Explicitly document false positives
| -rw-r--r-- | clippy_lints/src/await_holding_invalid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/await_holding_invalid.rs b/clippy_lints/src/await_holding_invalid.rs index f136aa4572a..ae64c688744 100644 --- a/clippy_lints/src/await_holding_invalid.rs +++ b/clippy_lints/src/await_holding_invalid.rs @@ -18,7 +18,7 @@ declare_clippy_lint! { /// other solution is to ensure the mutex is unlocked before calling await, /// either by introducing a scope or an explicit call to Drop::drop. /// - /// **Known problems:** None. + /// **Known problems:** Will report false positive for explicitly dropped guards ([#6446](https://github.com/rust-lang/rust-clippy/issues/6446)). /// /// **Example:** /// @@ -57,7 +57,7 @@ declare_clippy_lint! { /// at runtime. Holding onto a `RefCell` ref across an `await` suspension point /// risks panics from a mutable ref shared while other refs are outstanding. /// - /// **Known problems:** None. + /// **Known problems:** Will report false positive for explicitly dropped refs ([#6353](https://github.com/rust-lang/rust-clippy/issues/6353)). /// /// **Example:** /// |
