Browse Source

Update comments

master
buttercat1791 10 months ago
parent
commit
6cc5b375c1
  1. 4
      src/lib/data_structures/publication_tree.ts

4
src/lib/data_structures/publication_tree.ts

@ -337,7 +337,7 @@ export class PublicationTree implements AsyncIterable<NDKEvent | null> { @@ -337,7 +337,7 @@ export class PublicationTree implements AsyncIterable<NDKEvent | null> {
}
}
// Based on Raymond Chen's tree traversal algorithm.
// Based on Raymond Chen's tree traversal algorithm example.
// https://devblogs.microsoft.com/oldnewthing/20200106-00/?p=103300
do {
if (await this.#cursor.tryMoveToNextSibling()) {
@ -362,7 +362,7 @@ export class PublicationTree implements AsyncIterable<NDKEvent | null> { @@ -362,7 +362,7 @@ export class PublicationTree implements AsyncIterable<NDKEvent | null> {
}
}
// Based on Raymond Chen's tree traversal algorithm.
// Based on Raymond Chen's tree traversal algorithm example.
// https://devblogs.microsoft.com/oldnewthing/20200106-00/?p=103300
do {
if (await this.#cursor.tryMoveToPreviousSibling()) {

Loading…
Cancel
Save