nostrdb-rs

nostrdb in rust!
git clone git://jb55.com/nostrdb-rs
Log | Files | Refs | Submodules | README | LICENSE

commit 863e7010acb18da10d7cc3b9bca46408cb8f7e28
parent 99d8296fcba5957245ed883e2f3b1c0d1cb16397
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 24 May 2024 12:02:51 -0700

make NoteReplyBuf properties public

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/util/nip10.rs | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/util/nip10.rs b/src/util/nip10.rs @@ -111,9 +111,9 @@ pub struct NoteReply<'a> { /// Owned version of NoteReply, stores tag indices pub struct NoteReplyBuf { - root: Option<NoteIdRefBuf>, - reply: Option<NoteIdRefBuf>, - mention: Option<NoteIdRefBuf>, + pub root: Option<NoteIdRefBuf>, + pub reply: Option<NoteIdRefBuf>, + pub mention: Option<NoteIdRefBuf>, } impl<'a> NoteReply<'a> {