()
| 11 | |
| 12 | impl Foo { |
| 13 | fn new() -> Self { |
| 14 | Self { |
| 15 | mu1: sync::Arc::new(sync::Mutex::new(1)), |
| 16 | rw1: sync::RwLock::new(1), |
| 17 | mu2: parking_lot::Mutex::new(1), |
| 18 | rw2: parking_lot::RwLock::new(1), |
| 19 | mu3: spin::Mutex::new(1), |
| 20 | rw3: spin::RwLock::new(1), |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | fn std_mutex_1(&self) { |
| 25 | let guard1 = self.mu1.lock().unwrap(); |
nothing calls this directly
no outgoing calls
no test coverage detected