remove pub
from equal_bound
This commit is contained in:
parent
4f717b01e2
commit
e568f70875
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user