Function difft::diff::unchanged::count_common_unique
source · fn count_common_unique(lhs: &Syntax<'_>, rhs: &Syntax<'_>) -> usize
Expand description
Count the nodes in lhs
that are unique to the LHS input, but are
also present in rhs
.
Ignores children of unique nodes, so we don’t overcount.