| 107 | /// Returns an iterator over the units in an allocation. |
| 108 | pub(crate) fn units(self, reginfo: &impl RegInfo) -> impl Iterator<Item = AllocationUnit> + '_ { |
| 109 | enum EitherIter<A, B> { |
| 110 | A(A), |
| 111 | B(B), |
| 112 | } |
| 113 | impl<A, B> Iterator for EitherIter<A, B> |
| 114 | where |
| 115 | A: Iterator, |
nothing calls this directly
no outgoing calls
no test coverage detected