MCPcopy Create free account
hub / github.com/csskit/csskit / fmt

Method fmt

crates/csskit_ast/src/collector/mod.rs:34–40  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

32
33impl fmt::Display for ResolvedDiagnosticLevel {
34 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
35 f.write_str(match self {
36 Self::Error => "error",
37 Self::Warning => "warning",
38 Self::Advice => "advice",
39 })
40 }
41}
42
43#[cfg(feature = "miette")]

Callers

nothing calls this directly

Calls 1

write_strMethod · 0.80

Tested by

no test coverage detected