Function discard_spans_overlapping_holes

Source
fn discard_spans_overlapping_holes(covspans: &mut Vec<Covspan>, holes: &[Hole])
Expand description

Discard all covspans that overlap a hole.

The lists of covspans and holes must be sorted, and any holes that overlap with each other must have already been merged.