From 1b8037a9a8c67a59ab8be85d05b4428909d6b89e Mon Sep 17 00:00:00 2001 From: TehPers Date: Sun, 1 Dec 2024 00:31:16 -0800 Subject: [PATCH] Derive Copy for Annotated --- src/metadata/annotated.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metadata/annotated.rs b/src/metadata/annotated.rs index 09490b0..cfb8fa3 100644 --- a/src/metadata/annotated.rs +++ b/src/metadata/annotated.rs @@ -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 { value: T, stringified: &'static str,