difft::diff::unchanged

Function is_big_enough

Source
fn is_big_enough(
    nodes: &[(&Syntax<'_>, &Syntax<'_>)],
    size_threshold: u32,
) -> bool
Expand description

Given a vec of equal node pairs, does the total descendant count reach at least size_threshold?