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 0243907 commit 3580738
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 3580738

Please sign in to comment.