(predicate: *mut dispatch_once_t, work: F)
| 26 | #[cold] |
| 27 | #[inline(never)] |
| 28 | fn once<F>(predicate: *mut dispatch_once_t, work: F) |
| 29 | where F: FnOnce() { |
| 30 | let mut work = Some(work); |
| 31 | let (context, work) = context_and_sync_function(&mut work); |
| 32 | unsafe { |
| 33 | dispatch_once_f(predicate, context, work); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | unsafe { |
| 38 | let predicate = self.predicate.get(); |
nothing calls this directly
no test coverage detected