MCPcopy Create free account
hub / github.com/hashintel/hash / fmt

Method fmt

libs/error-stack/src/sink.rs:406–410  ·  view source on GitHub ↗
(&self, fmt: &mut core::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

404
405 impl Display for TestError {
406 fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
407 fmt.write_str("TestError(")?;
408 core::fmt::Display::fmt(&self.0, fmt)?;
409 fmt.write_str(")")
410 }
411 }
412
413 impl core::error::Error for TestError {}

Callers

nothing calls this directly

Calls 2

fmtFunction · 0.50
write_strMethod · 0.45

Tested by

no test coverage detected