Skip to main content

line_for_offset

Function line_for_offset 

Source
fn line_for_offset(line_starts: &[usize], offset: usize) -> usize
Expand description

Binary search for the line containing offset.