Ignore mutex_atomic clippy lint

> This lint cannot detect if the mutex is actually used for waiting
before a critical section.
This commit is contained in:
gwenn
2019-10-19 10:10:17 +02:00
parent e880987fa3
commit 22bdd80b92
2 changed files with 4 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ struct UnlockNotification {
}
#[cfg(feature = "unlock_notify")]
#[allow(clippy::mutex_atomic)]
impl UnlockNotification {
fn new() -> UnlockNotification {
UnlockNotification {