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

Method append

crates/css_parse/src/cursor_pretty_write_sink.rs:90–92  ·  view source on GitHub ↗
(&mut self, c: Cursor)

Source from the content-addressed store, hash-verified

88
89impl<'a, T: SourceCursorSink<'a>> CursorSink for CursorPrettyWriteSink<'a, T> {
90 fn append(&mut self, c: Cursor) {
91 self.write(SourceCursor::from(c, c.str_slice(self.source_text)))
92 }
93}
94
95impl<'a, T: SourceCursorSink<'a>> SourceCursorSink<'a> for CursorPrettyWriteSink<'a, T> {

Callers 1

writeMethod · 0.45

Calls 2

str_sliceMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected