diff --git a/src/mem_forest/mod.rs b/src/mem_forest/mod.rs index 577ec5b..ca39b47 100644 --- a/src/mem_forest/mod.rs +++ b/src/mem_forest/mod.rs @@ -70,7 +70,6 @@ type Parent = RefCell>>; type Children = RefCell>>; /// A forest node that can either be a leaf or a branch. -#[derive(Clone)] pub struct Node { /// The type of this node. ty: NodeType, @@ -199,7 +198,7 @@ impl Node { /// The actual [`MemForest`] accumulator, it implements all methods required to update the forest /// and to prove/verify membership. -#[derive(Default, Clone)] +#[derive(Default)] pub struct MemForest { /// The roots of the forest, all leaves are children of these roots, and therefore /// owned by them.