Function clippy_utils::over

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

Checks if two slices are equal as per eq_fn.