File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
crates/nostr/src/event/tag Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -408,12 +408,12 @@ impl Tag {
408
408
}
409
409
}
410
410
411
- /// Check if `Tag` is an event `root`
411
+ /// Check if is a standard event tag with `root` marker
412
412
pub fn is_root ( & self ) -> bool {
413
413
self . inner . is_root ( )
414
414
}
415
415
416
- /// Check if `Tag` is an event `reply`
416
+ /// Check if is a standard event tag with `reply` marker
417
417
pub fn is_reply ( & self ) -> bool {
418
418
self . inner . is_reply ( )
419
419
}
Original file line number Diff line number Diff line change @@ -313,14 +313,14 @@ impl JsTag {
313
313
}
314
314
}
315
315
316
- /// Check if `Tag` is an event `root`
316
+ /// Check if is a standard event tag with `root` marker
317
317
#[ inline]
318
318
#[ wasm_bindgen( js_name = isRoot) ]
319
319
pub fn is_root ( & self ) -> bool {
320
320
self . inner . is_root ( )
321
321
}
322
322
323
- /// Check if `Tag` is an event `reply`
323
+ /// Check if is a standard event tag with `reply` marker
324
324
#[ inline]
325
325
#[ wasm_bindgen( js_name = isReply) ]
326
326
pub fn is_reply ( & self ) -> bool {
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ impl Tag {
277
277
Self :: new_with_empty_cell ( buf)
278
278
}
279
279
280
- /// Check if tag is an event `root`
280
+ /// Check if is a standard event tag with `root` marker
281
281
#[ inline]
282
282
pub fn is_root ( & self ) -> bool {
283
283
matches ! (
@@ -289,7 +289,7 @@ impl Tag {
289
289
)
290
290
}
291
291
292
- /// Check if tag is an event `reply`
292
+ /// Check if is a standard event tag with `reply` marker
293
293
#[ inline]
294
294
pub fn is_reply ( & self ) -> bool {
295
295
matches ! (
You can’t perform that action at this time.
0 commit comments