remove unnecessary Clone
bound
This commit is contained in:
parent
0a0ec3a882
commit
1e9258717a
@ -26,10 +26,7 @@ trait BinaryTreesBindable<'a>: BinaryTrees<'a> {
|
||||
fn bounds_error<T: 'a>(&self, error: BoundsError<Self::Key>) -> BTWrap<'a, Self, T>;
|
||||
}
|
||||
|
||||
impl<'a, BT: BinaryTreesBindable<'a>> BinaryTrees<'a> for BoundTrees<BT>
|
||||
where
|
||||
BT::Tree: Clone,
|
||||
{
|
||||
impl<'a, BT: BinaryTreesBindable<'a>> BinaryTrees<'a> for BoundTrees<BT> {
|
||||
type Node = BoundNode2<Self::Key, BT::Node>;
|
||||
|
||||
type Reference = Bound<Self::Key, BT::Reference>;
|
||||
|
Loading…
Reference in New Issue
Block a user