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.
1 parent c92f6a5 commit 9e27154Copy full SHA for 9e27154
src/combinations.rs
@@ -63,7 +63,7 @@ impl<I> Iterator for Combinations<I>
63
let mut i: usize = self.indices.len() - 1;
64
65
// Check if we need to consume more from the iterator
66
- if self.indices[i] == self.pool.len() - 1 && !self.pool.is_done() {
+ if self.indices[i] == self.pool.len() - 1 {
67
self.pool.get_next(); // may change pool size
68
}
69
0 commit comments