Skip to content

Commit

Permalink
Derive Copy for Node
Browse files Browse the repository at this point in the history
  • Loading branch information
samestep committed Aug 29, 2023
1 parent a18da3b commit 436ae2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 436ae2c

Please sign in to comment.