(&self, f: &mut fmt::Formatter<'_>)
| 146 | |
| 147 | impl fmt::Display for CheckerState { |
| 148 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 149 | let mut unit_values: Vec<_> = self.unit_values.iter().collect(); |
| 150 | unit_values.sort_unstable_by_key(|&(unit, _)| unit); |
| 151 | for (unit, values) in &unit_values { |
| 152 | write!(f, "{unit}: {values:?} ")?; |
| 153 | } |
| 154 | Ok(()) |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | /// Process instruction operands in 3 separate passes to properly model their |