Function difft::display::context::after_with_opposites
source · fn after_with_opposites(
after_lines: &[LineNumber],
opposite_lines: &HashMap<LineNumber, HashSet<LineNumber>, BuildHasherDefault<FxHasher>>,
prev_max_opposite: Option<LineNumber>,
max_opposite: LineNumber
) -> Vec<(Option<LineNumber>, Option<LineNumber>)>
Expand description
Before: 120 – (novel) 121 – 122 –
After: 120 90 (novel) 121 – 122 91 (closest match)