rustfmt_nightly::config::file_lines

Function normalize_ranges

Source
fn normalize_ranges(ranges: &mut HashMap<FileName, Vec<Range>>)
Expand description

Normalizes the ranges so that the invariants for FileLines hold: ranges are non-overlapping, and ordered by their start point.