Skip to main content

compute_line_offsets

Function compute_line_offsets 

Source
fn compute_line_offsets(content: &str) -> Vec<usize>
Expand description

Computes the byte offset where each line starts in source content.