Skip to main content

ranges

Function ranges 

Source
pub fn ranges(lines: &[usize]) -> Vec<(usize, usize)>
Expand description

Collapse consecutive uncovered lines into inclusive ranges, so a block of twenty untested lines is one annotation rather than twenty.