From 436ae2c39407902b1c923ba84eb78222ecd38008 Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Tue, 29 Aug 2023 13:49:59 -0400 Subject: [PATCH] Derive `Copy` for `Node` --- crates/core/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/core/src/lib.rs b/crates/core/src/lib.rs index 84ddb52..d99dfab 100644 --- a/crates/core/src/lib.rs +++ b/crates/core/src/lib.rs @@ -84,6 +84,7 @@ pub trait Refs<'a> { Self: Sized; } +#[derive(Clone, Debug, Copy)] pub enum Node<'a, O, T: Refs<'a, Opaque = O>> { Transparent { refs: T,