fn shrink_unchanged_at_ends<'a>(
lhs_nodes: &[&'a Syntax<'a>],
rhs_nodes: &[&'a Syntax<'a>],
change_map: &mut ChangeMap<'a>
) -> (bool, Vec<&'a Syntax<'a>>, Vec<&'a Syntax<'a>>)
Expand description
Skip syntax nodes at the beginning or end that are obviously unchanged.
Set the ChangeKind
on the definitely changed nodes, and return the
nodes that may contain changes.