difft::line_parser

Function merge_novel

Source
fn merge_novel<'a>(
    lines: &[(TextChangeKind, Vec<&'a str>, Vec<&'a str>)],
) -> Vec<(TextChangeKind, Vec<&'a str>, Vec<&'a str>)>
Expand description

Merge contiguous sequences marked as novel.