MCPcopy Create free account
hub / github.com/GCWing/BitFun / push_span

Method push_span

src/apps/cli/src/ui/markdown.rs:586–592  ·  view source on GitHub ↗
(&mut self, span: Span<'static>)

Source from the content-addressed store, hash-verified

584 }
585
586 fn push_span(&mut self, span: Span<'static>) {
587 if self.in_cell {
588 if let Some(cell) = self.current_row.last_mut() {
589 cell.push(span);
590 }
591 }
592 }
593
594 fn end_table(&mut self, max_total_width: usize) -> Vec<Line<'static>> {
595 self.in_table = false;

Callers 1

renderMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected