remove pub from equal_bound

This commit is contained in:
AF 2023-06-16 09:24:43 +00:00
parent 4f717b01e2
commit e568f70875

View File

@ -70,7 +70,7 @@ impl<A: Clone> Bounds<A> {
Self::new(l.l, r.r, comparator)
}
pub fn equal_bound(l: &Option<A>, r: &Option<A>, comparator: &impl Comparator<A>) -> bool {
fn equal_bound(l: &Option<A>, r: &Option<A>, comparator: &impl Comparator<A>) -> bool {
match (l, r) {
(None, None) => true,
(Some(kl), Some(kr)) => matches!(comparator.pick_smaller(kl, kr), Comparison::E),