move mutex_atomic to clippy::restriction

This commit is contained in:
Ray Redondo 2022-12-24 23:47:14 -06:00
parent e8703a0ce2
commit 0e5fcb7b7f

View file

@ -39,7 +39,7 @@ declare_clippy_lint! {
/// ```
#[clippy::version = "pre 1.29.0"]
pub MUTEX_ATOMIC,
nursery,
restriction,
"using a mutex where an atomic value could be used instead"
}