Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
Source from the content-addressed store, hash-verified
| 20 | #[cfg(test)] |
| 21 | impl<T: std::fmt::Debug, const N: usize> std::fmt::Debug for AtomicArray<T, N> { |
| 22 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 23 | f.debug_list() |
| 24 | .entries( |
| 25 | self.items |
| 26 | .iter() |
| 27 | .map(|i| unsafe { i.load(Ordering::Relaxed).as_ref() }), |
| 28 | ) |
| 29 | .finish() |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | impl<T, const N: usize> Default for AtomicArray<T, N> { |
Callers
nothing calls this directly
Tested by
no test coverage detected