diff --git a/src/flow/binary.rs b/src/flow/binary.rs index 41fe14b..dd8195c 100644 --- a/src/flow/binary.rs +++ b/src/flow/binary.rs @@ -1,5 +1,6 @@ pub mod avl; pub mod balancing; +pub mod bound; pub mod bounds; use crate::flow::comparator::*; diff --git a/src/flow/binary/balancing.rs b/src/flow/binary/balancing.rs index 9fd1711..0df0eb6 100644 --- a/src/flow/binary/balancing.rs +++ b/src/flow/binary/balancing.rs @@ -1,6 +1,6 @@ use std::fmt::Display; -use super::{avl::*, bounds::bound::BinaryTreesBindable, *}; +use super::{avl::*, bound::*, *}; pub trait BinaryTreesUnbalanced<'a>: BinaryTreesHeight<'a> { fn tree_of_with_height(&self, node: Self::Node, height: u64) -> BTWrap<'a, Self, Self::Tree>; diff --git a/src/flow/binary/bounds/bound.rs b/src/flow/binary/bound.rs similarity index 98% rename from src/flow/binary/bounds/bound.rs rename to src/flow/binary/bound.rs index 7fc5620..0bf5ff0 100644 --- a/src/flow/binary/bounds/bound.rs +++ b/src/flow/binary/bound.rs @@ -1,8 +1,7 @@ -use crate::flow::binary::avl::*; -use crate::flow::binary::*; -use crate::func::context::*; - +use super::avl::*; +use super::bounds::*; use super::*; +use crate::func::context::*; #[derive(Clone)] pub struct Bound { diff --git a/src/flow/binary/bounds.rs b/src/flow/binary/bounds.rs index 8069798..dc1b12c 100644 --- a/src/flow/binary/bounds.rs +++ b/src/flow/binary/bounds.rs @@ -1,5 +1,3 @@ -pub mod bound; - use crate::flow::comparator::*; #[derive(Clone)] diff --git a/src/mrds/trees/heighted.rs b/src/mrds/trees/heighted.rs index fafbd2b..d1172c9 100644 --- a/src/mrds/trees/heighted.rs +++ b/src/mrds/trees/heighted.rs @@ -1,7 +1,7 @@ use std::{fmt::Display, marker::PhantomData, rc::Rc}; use crate::flow::{ - binary::{balancing::*, bounds::bound::*, *}, + binary::{balancing::*, bound::*, *}, comparator::*, }; use crate::func::{context::*, *};