difft::diff::unchanged

Function split_unchanged_toplevel

Source
fn split_unchanged_toplevel<'a>(
    lhs_nodes: &[&'a Syntax<'a>],
    rhs_nodes: &[&'a Syntax<'a>],
    size_threshold: u32,
) -> Vec<(ChangeState, Vec<&'a Syntax<'a>>, Vec<&'a Syntax<'a>>)>
Expand description

Mark top-level nodes as unchanged if they have exactly the same content on both sides.