Function difft::display::context::match_blanks_between
source · fn match_blanks_between(
current: (LineNumber, LineNumber),
prev: (LineNumber, LineNumber),
lhs_lines: &[&str],
rhs_lines: &[&str]
) -> Vec<(Option<LineNumber>, Option<LineNumber>)>
Expand description
If the lines immediately before current
are blank on both sides,
return the line numbers of those blank lines.