Skip to content

Commit

Permalink
Derive Ord and Partial Ord for NoteTag (#656)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyrd authored and bobbinth committed May 14, 2024
1 parent 2bdd3a5 commit 33e942d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objects/src/notes/note_tag.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 33e942d

Please sign in to comment.