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

Method fmt

src/entity/base.rs:37–39  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

35
36impl<T: EntityRef + fmt::Display> fmt::Display for EntityRange<T> {
37 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
38 write!(f, "{}..{}", self.from, self.to)
39 }
40}
41
42impl<T: EntityRef> EntityRange<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected