remove unnecessary lifetimes in BinaryTrees
All checks were successful
buildbot/cargo fmt (1.72) Build done.
buildbot/cargo doc (1.72) Build done.
buildbot/cargo clippy (1.72) Build done.
buildbot/cargo test (1.65) Build done.
buildbot/cargo clippy (1.65) Build done.

This commit is contained in:
AF 2023-08-31 21:57:59 +00:00
parent 4770db4fc0
commit 8d665b0801

View File

@ -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>;