rc_mutex: add known problems

This commit is contained in:
lyj 2021-06-11 14:07:11 +08:00
parent f877f54767
commit 683c557afe

View File

@ -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