From f64198c39de9ac8dbb35dec89b44a38e2d6142e0 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 9 Feb 2024 15:59:04 -0800 Subject: [PATCH] notekey: implement copy Signed-off-by: William Casarin --- src/note.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/note.rs b/src/note.rs index 82c109c..e9bcd14 100644 --- a/src/note.rs +++ b/src/note.rs @@ -1,7 +1,7 @@ use crate::bindings; use crate::transaction::Transaction; -#[derive(Debug, Clone, Eq, Ord, PartialEq, PartialOrd)] +#[derive(Debug, Clone, Copy, Eq, Ord, PartialEq, PartialOrd)] pub struct NoteKey(u64); impl NoteKey {