Skip to main content

format_range

Function format_range 

Source
pub fn format_range(content: &str, start: usize, end: usize) -> String
Expand description

Format a range of lines from content with {:>6}| line-number gutter. Shared by retrieve_with_range (archive) and expand_reference (ref store).