fn ensure_contiguous(
    lines: &[(Option<LineNumber>, Option<LineNumber>)]
) -> Vec<(Option<LineNumber>, Option<LineNumber>)>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
Expand description

Ensure that we don’t miss any intermediate values.

Before:

1 11
3 14
4 --

After:

1 10
2 12 (choosing to align even though content doesn't match)
- 13 (fix uneven gap)
3 14
4 -- (preserve outer gaps)