From e568f7087558b6b4228874149bec50363865dde1 Mon Sep 17 00:00:00 2001 From: timofey Date: Fri, 16 Jun 2023 09:24:43 +0000 Subject: [PATCH] remove `pub` from `equal_bound` --- src/flow/binary/bounds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flow/binary/bounds.rs b/src/flow/binary/bounds.rs index 1f7917d..0e96553 100644 --- a/src/flow/binary/bounds.rs +++ b/src/flow/binary/bounds.rs @@ -70,7 +70,7 @@ impl Bounds { Self::new(l.l, r.r, comparator) } - pub fn equal_bound(l: &Option, r: &Option, comparator: &impl Comparator) -> bool { + fn equal_bound(l: &Option, r: &Option, comparator: &impl Comparator) -> bool { match (l, r) { (None, None) => true, (Some(kl), Some(kr)) => matches!(comparator.pick_smaller(kl, kr), Comparison::E),