fix comment typo

fix small comment typo, iff -> if
This commit is contained in:
seungju 2019-05-01 07:34:29 +02:00
parent 4c90efdf57
commit 82cf0663b0

View file

@ -83,7 +83,7 @@ type NodeIterator interface {
// For leaf nodes, the last element of the path is the 'terminator symbol' 0x10.
Path() []byte
// Leaf returns true iff the current node is a leaf node.
// Leaf returns true if the current node is a leaf node.
Leaf() bool
// LeafKey returns the key of the leaf. The method panics if the iterator is not