Update comment.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
pull/299/head
Tom Wilkie 7 years ago committed by Tom Wilkie
parent 44814cc274
commit db26fd3691
  1. 3
      pkg/iter/iterator.go

@ -168,8 +168,7 @@ func (i *heapIterator) Next() bool {
// replication, is guaranteed to be the correct next entry.
i.currEntry = mostCommon(tuples).Entry
// Requeue the iterators, only advancing them if they were not the
// correct pick.
// Requeue the iterators, advancing them if they were consumed.
for j := range tuples {
i.requeue(tuples[j].EntryIterator, tuples[j].Line != i.currEntry.Line)
}

Loading…
Cancel
Save