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
.