We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
false
1 parent d56b823 commit bdfad24Copy full SHA for bdfad24
src/iterators/recorded.rs
@@ -24,6 +24,13 @@ impl<T: Counter> PickyIterator<T> for Iter {
24
}
25
26
fn more(&mut self, _: usize) -> bool {
27
+ // more() is really more_with_zero_counts(), but here as this is the
28
+ // record-picker, we never visit empty bins, and thus there will never
29
+ // be `more()`
30
+ //
31
+ // If we yield a record, by definition the current bin cannot be empty,
32
+ // and as we iterate over record, once the last one is yielded, there
33
+ // can't any more bins to yield.
34
35
36
0 commit comments