Function difft::diff::unchanged::mark_unchanged
source · pub(crate) fn mark_unchanged<'a>(
lhs_nodes: &[&'a Syntax<'a>],
rhs_nodes: &[&'a Syntax<'a>],
change_map: &mut ChangeMap<'a>
) -> Vec<(Vec<&'a Syntax<'a>>, Vec<&'a Syntax<'a>>)>
Expand description
Set ChangeKind
on nodes that have exactly the same structure
on both sides, and return a vec of pairs that need proper diffing.