Skip to main content

format_annotated_source

Function format_annotated_source 

Source
pub fn format_annotated_source(src: &str, spans: &[AnnotatedSpan]) -> String
Expand description

Format source text with annotated spans underlined.