diff --git a/src/flow/binary/bound.rs b/src/flow/binary/bound.rs
index 0f655ae..fefe201 100644
--- a/src/flow/binary/bound.rs
+++ b/src/flow/binary/bound.rs
@@ -17,7 +17,7 @@ impl std::ops::Deref for Bound {
}
}
-pub struct BoundNode2 {
+pub struct BoundNode {
boundsl: Bounds,
boundsr: Bounds,
bounds: Bounds,
@@ -53,7 +53,7 @@ pub trait BinaryTreesBindable<'a>: BinaryTrees<'a> {
}
impl<'a, BT: BinaryTreesBindable<'a>> BinaryTrees<'a> for BoundTrees {
- type Node = BoundNode2;
+ type Node = BoundNode;
type Reference = Bound;
@@ -92,7 +92,7 @@ impl<'a, BT: BinaryTreesBindable<'a>> BinaryTrees<'a> for BoundTrees {
ctx.bounds_bind(
bounds.clone().split(&key, ctx.comparator()),
|(boundsl, boundsr)| {
- Self::pure(BoundNode2 {
+ Self::pure(BoundNode {
boundsl,
boundsr,
bounds,
@@ -187,13 +187,11 @@ impl<'a, BT: BinaryTreesBindable<'a> + BinaryTreesTryJoin<'a>> BinaryTreesTryJoi
self.0.bounds_bind(
Bounds::join(boundsl.clone(), boundsr.clone(), &key, self.comparator()),
|bounds| {
- Self::fmap(self.0.try_join(tl.bound, key, tr.bound), |node| {
- BoundNode2 {
- boundsl,
- boundsr,
- bounds,
- node,
- }
+ Self::fmap(self.0.try_join(tl.bound, key, tr.bound), |node| BoundNode {
+ boundsl,
+ boundsr,
+ bounds,
+ node,
})
},
)