From 1e9258717a24fba0c7eeee69b01084c063f25143 Mon Sep 17 00:00:00 2001 From: timofey Date: Fri, 16 Jun 2023 08:43:51 +0000 Subject: [PATCH] remove unnecessary `Clone` bound --- src/flow/binary/bounds/bound.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/flow/binary/bounds/bound.rs b/src/flow/binary/bounds/bound.rs index a3909ea..958402a 100644 --- a/src/flow/binary/bounds/bound.rs +++ b/src/flow/binary/bounds/bound.rs @@ -26,10 +26,7 @@ trait BinaryTreesBindable<'a>: BinaryTrees<'a> { fn bounds_error(&self, error: BoundsError) -> BTWrap<'a, Self, T>; } -impl<'a, BT: BinaryTreesBindable<'a>> BinaryTrees<'a> for BoundTrees -where - BT::Tree: Clone, -{ +impl<'a, BT: BinaryTreesBindable<'a>> BinaryTrees<'a> for BoundTrees { type Node = BoundNode2; type Reference = Bound;