Skip to content

Commit 02f99be

Browse files
author
Daniel Smith
committed
Explicitly document false positives
1 parent 00586df commit 02f99be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/await_holding_invalid.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ declare_clippy_lint! {
1818
/// other solution is to ensure the mutex is unlocked before calling await,
1919
/// either by introducing a scope or an explicit call to Drop::drop.
2020
///
21-
/// **Known problems:** None.
21+
/// **Known problems:** Will report false positive for explicitly dropped guards ([#6446](https://github.com/rust-lang/rust-clippy/issues/6446)).
2222
///
2323
/// **Example:**
2424
///
@@ -57,7 +57,7 @@ declare_clippy_lint! {
5757
/// at runtime. Holding onto a `RefCell` ref across an `await` suspension point
5858
/// risks panics from a mutable ref shared while other refs are outstanding.
5959
///
60-
/// **Known problems:** None.
60+
/// **Known problems:** Will report false positive for explicitly dropped refs ([#6353](https://github.com/rust-lang/rust-clippy/issues/6353)).
6161
///
6262
/// **Example:**
6363
///

0 commit comments

Comments
 (0)