code: func (iter *iterator) exhaust() common.Comparators {
  	entries := make(common.Comparators, 0, 10)
  	for i := iter; i.Next(); {
  		entries = append(entries, i.Value())
  	}
  
  	return entries
  }
docs: // exhaust is a helper method to exhaust this iterator and return
  // all remaining entries.