remove unnecessary lifetimes in BinaryTrees
This commit is contained in:
parent
4770db4fc0
commit
8d665b0801
@ -18,10 +18,10 @@ pub type KeySplit<'a, BT> = (<BT as BinaryTrees<'a>>::Tree, <BT as BinaryTrees<'
|
|||||||
pub type BTWrap<'a, BT, A> = WrapC<'a, A, BT>;
|
pub type BTWrap<'a, BT, A> = WrapC<'a, A, BT>;
|
||||||
|
|
||||||
pub trait BinaryTrees<'a>: FunctorContext<'a, T = Self::_Tm> + Clone {
|
pub trait BinaryTrees<'a>: FunctorContext<'a, T = Self::_Tm> + Clone {
|
||||||
type Node: 'a + Send;
|
type Node: Send;
|
||||||
type Reference: 'a + Send;
|
type Reference: Send;
|
||||||
type Tree: 'a + Send;
|
type Tree: Send;
|
||||||
type Key: 'a + Send + Clone;
|
type Key: Send + Clone;
|
||||||
type Comparator: Comparator<Self::Key>;
|
type Comparator: Comparator<Self::Key>;
|
||||||
|
|
||||||
type _Tm: Monad<'a>;
|
type _Tm: Monad<'a>;
|
||||||
|
Loading…
Reference in New Issue
Block a user