clippy_utils::ast_utils

Function eq_item

source
pub fn eq_item<K>(
    l: &Item<K>,
    r: &Item<K>,
    eq_kind: impl FnMut(&K, &K) -> bool,
) -> bool