Skip to content

Commit 683c557

Browse files
committed
rc_mutex: add known problems
1 parent f877f54 commit 683c557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ declare_clippy_lint! {
257257
/// **Why is this bad?** `Rc` is used in single thread and `Mutex` is used in multi thread.
258258
/// Consider using `Rc<RefCell<T>>` in single thread or `Arc<Mutex<T>>` in multi thread.
259259
///
260-
/// **Known problems:** None.
260+
/// **Known problems:** Maybe false positive on trait generic.
261261
///
262262
/// **Example:**
263263
/// ```rust,ignore

0 commit comments

Comments
 (0)