difft::diff::sliders

Function fix_nested_slider_prefer_inner

Source
fn fix_nested_slider_prefer_inner<'a>(
    node: &'a Syntax<'a>,
    change_map: &mut ChangeMap<'a>,
)
Expand description

When we see code of the form old1(novel(old2())), prefer treating the inner delimiter as novel, so novel(...) in this example.