MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / fmt

Method fmt

atomic-identity/src/keypair.rs:112–114  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

110
111impl fmt::Debug for PublicKey {
112 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
113 write!(f, "PublicKey({})", &self.to_base32()[..12])
114 }
115}
116
117impl fmt::Display for PublicKey {

Callers

nothing calls this directly

Calls 2

fieldMethod · 0.80
finishMethod · 0.45

Tested by

no test coverage detected