Skip to content

Commit

Permalink
Derive Copy for Annotated<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
TehPers committed Dec 1, 2024
1 parent e2f5cc2 commit 1b8037a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metadata/annotated.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ macro_rules! annotated {
/// representations (due to [stringify]'s lack of guarantee). The string
/// representation is *only* intended to be used to augment user-facing
/// messages.
#[derive(Clone, Debug)]
#[derive(Clone, Copy, Debug)]
pub struct Annotated<T> {
value: T,
stringified: &'static str,
Expand Down

0 comments on commit 1b8037a

Please sign in to comment.