Skip to content

Commit

Permalink
kv: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Dec 15, 2015
1 parent e3dcbfc commit 4af036f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/iter.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func DecodeValue(data []byte) ([]interface{}, error) {
}

// NextUntil applies FnKeyCmp to each entry of the iterator until meets some condition.
// It will stop when fn returns true, or iterator is invalid or occur error
// It will stop when fn returns true, or iterator is invalid or occur error.
func NextUntil(it Iterator, fn FnKeyCmp) error {
var err error
for it.Valid() && !fn([]byte(it.Key())) {
Expand Down

0 comments on commit 4af036f

Please sign in to comment.