From 33e942dfe10fc2d0e05304e2268136cd83041c57 Mon Sep 17 00:00:00 2001 From: Tomas Rodriguez Dala <43424983+tomyrd@users.noreply.github.com> Date: Thu, 2 May 2024 16:15:50 -0300 Subject: [PATCH] Derive Ord and Partial Ord for NoteTag (#656) --- objects/src/notes/note_tag.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/src/notes/note_tag.rs b/objects/src/notes/note_tag.rs index 949258630..cabc6cf08 100644 --- a/objects/src/notes/note_tag.rs +++ b/objects/src/notes/note_tag.rs @@ -10,7 +10,7 @@ use super::{ // NOTE TAG // ================================================================================================ -#[derive(Clone, Copy, Debug, Eq, PartialEq)] +#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd)] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] pub struct NoteTag(u32);