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

Method fmt

libs/error-stack/tests/common.rs:41–43  ·  view source on GitHub ↗
(&self, fmt: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

39
40impl fmt::Display for RootError {
41 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
42 fmt.write_str("root error")
43 }
44}
45
46impl Error for RootError {}

Callers

nothing calls this directly

Calls 2

fmtFunction · 0.50
write_strMethod · 0.45

Tested by

no test coverage detected