Skip to content

Commit

Permalink
rc_mutex: add known problems
Browse files Browse the repository at this point in the history
  • Loading branch information
lengyijun committed Jun 11, 2021
1 parent f877f54 commit 683c557
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/types/mod.rs
Expand Up @@ -257,7 +257,7 @@ declare_clippy_lint! {
/// **Why is this bad?** `Rc` is used in single thread and `Mutex` is used in multi thread.
/// Consider using `Rc<RefCell<T>>` in single thread or `Arc<Mutex<T>>` in multi thread.
///
/// **Known problems:** None.
/// **Known problems:** Maybe false positive on trait generic.
///
/// **Example:**
/// ```rust,ignore
Expand Down

0 comments on commit 683c557

Please sign in to comment.