Expand comment

pull/25/head
Wilfred Hughes 2021-06-22 20:10:22 +07:00
parent f068b71ea1
commit 07f17108e9
1 changed files with 2 additions and 1 deletions

@ -616,7 +616,8 @@ fn mark_unchanged_node<'a>(
) => {
// TODO: this produces poor results when RHS is
// not a descedant of the LHS children. We should
// step over RHS in that case.
// step over RHS in that case. RHS is never a
// descendant, or it would be a potential move.
lhs_node.set_change(Novel);
mark_unchanged_nodes(&lhs_children[..], std::slice::from_ref(&rhs_node), env);
}