diff --git a/crates/notedeck/src/note.rs b/crates/notedeck/src/note.rs index 896417bf..ab7ce8bc 100644 --- a/crates/notedeck/src/note.rs +++ b/crates/notedeck/src/note.rs @@ -4,7 +4,7 @@ use nostrdb::{Ndb, Note, NoteKey, QueryResult, Transaction}; use std::borrow::Borrow; use std::cmp::Ordering; -#[derive(Debug, Eq, PartialEq, Copy, Clone)] +#[derive(Debug, Eq, PartialEq, Copy, Clone, Hash)] pub struct NoteRef { pub key: NoteKey, pub created_at: u64,