MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / fmt

Method fmt

crates/component-macro/tests/expanded/unversioned-foo.rs:193–199  ·  view source on GitHub ↗
(&self, f: &mut core::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

191 }
192 impl core::fmt::Debug for Error {
193 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
194 match self {
195 Error::Other(e) => {
196 f.debug_tuple("Error::Other").field(e).finish()
197 }
198 }
199 }
200 }
201 impl core::fmt::Display for Error {
202 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {

Callers

nothing calls this directly

Calls 2

finishMethod · 0.45
fieldMethod · 0.45

Tested by

no test coverage detected