Function difft::display::hunks::merge_adjacent
source · pub(crate) fn merge_adjacent(
hunks: &[Hunk],
opposite_to_lhs: &HashMap<LineNumber, HashSet<LineNumber>, BuildHasherDefault<FxHasher>>,
opposite_to_rhs: &HashMap<LineNumber, HashSet<LineNumber>, BuildHasherDefault<FxHasher>>,
max_lhs_src_line: LineNumber,
max_rhs_src_line: LineNumber,
num_context_lines: usize
) -> Vec<Hunk>