Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit efe43aa

Browse files
authored
Clarify _walkTrie @returns statement
1 parent 3ed946a commit efe43aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/baseTrie.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ export class Trie {
421421
* @private
422422
* @param {Buffer} root
423423
* @param {Function} onNode - callback to call when a node is found
424-
* @returns Returns when finished walking trie.
424+
* @returns Resolves when finished walking trie.
425425
*/
426426
async _walkTrie(root: Buffer, onNode: FoundNode): Promise<void> {
427427
return new Promise(async (resolve) => {

0 commit comments

Comments
 (0)