Function difft::diff::unchanged::shrink_unchanged_delimiters
source · fn shrink_unchanged_delimiters<'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
If we’re comparing two lists that have the same delimiters, mark the delimiters as unchanged and return the children.