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

Method finish

crates/csskit_highlight/src/test_helpers.rs:20–31  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

18 }
19
20 pub fn finish(&mut self) {
21 if self.err.is_none() {
22 if let Err(err) = self.writer.write_str(
23 r#"
24 </code>
25 </pre>
26</body>"#,
27 ) {
28 self.err = Some(err);
29 }
30 }
31 }
32}
33
34impl<'a, T: fmt::Write> CursorSink for HTMLHighlightCursorStream<'a, T> {

Callers 9

popularFunction · 0.80
benchFunction · 0.80
popularFunction · 0.80
popularFunction · 0.80
fmtMethod · 0.80
selector_matchingFunction · 0.80
collectorFunction · 0.80
parse_sheetFunction · 0.80
fmtMethod · 0.80

Calls 1

write_strMethod · 0.80

Tested by

no test coverage detected