Function clippy_utils::ast_utils::unordered_over

source ·
pub fn unordered_over<X>(
    left: &[X],
    right: &[X],
    eq_fn: impl FnMut(&X, &X) -> bool
) -> bool
Expand description

Checks if each element in the first slice is contained within the latter as per eq_fn.