(&self, f: &mut fmt::Formatter<'_>)
| 29 | |
| 30 | impl fmt::Display for Arch { |
| 31 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 32 | match *self { |
| 33 | Arch::Aarch64 => f.write_str("aarch64"), |
| 34 | Arch::Riscv => f.write_str("riscv"), |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | /// Helper type to display a comma-separated list of displayable values. |