MCPcopy Create free account
hub / github.com/Amanieu/regalloc3 / fmt

Method fmt

regalloc3-tool/src/example_reginfo/mod.rs:31–36  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

29
30impl 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.

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected