2 Checks for usages of `Mutex<X>` where `X` is an integral
6 Using a mutex just to make access to a plain integer
8 shooting flies with cannons. `std::sync::atomic::AtomicUsize` is leaner and faster.
11 This lint cannot detect if the mutex is actually used
12 for waiting before a critical section.
16 let x = Mutex::new(0usize);
21 let x = AtomicUsize::new(0usize);