1pub(crate) fn partial_cmp_equal<T: PartialOrd>(lhs: &T, rhs: &T) -> bool { 2 matches!(lhs.partial_cmp(rhs), Some(std::cmp::Ordering::Equal)) 3}