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

Method finish

libs/error-stack/src/fmt/color.rs:184–191  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 }
183
184 fn finish(self) -> Result<&'a mut Formatter<'b>, fmt::Error> {
185 if !self.empty {
186 // we wrote a specific formatting character, therefore we need to end
187 self.fmt.write_str("m")?;
188 }
189
190 Ok(self.fmt)
191 }
192}
193
194impl ControlSequence<'_, '_> {

Callers 2

fmtMethod · 0.45
fmtMethod · 0.45

Calls 2

OkInterface · 0.85
write_strMethod · 0.45

Tested by

no test coverage detected