Function koto_parser::format_source_excerpt

source ·
pub fn format_source_excerpt(
    source: &str,
    span: &Span,
    source_path: &Option<PathBuf>
) -> String
Expand description

Renders the excerpt of the source corresponding to the given span