Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Ockajak committed Jul 12, 2024
1 parent 911aaea commit 41e8d6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/extensions/collectible.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1310,9 +1310,6 @@ where
Item: Clone + 'a,
Collection: FromIterator<Item> + Sized,
{
if k == 0 {
return vec!(Collection::from_iter(iter::empty()));
}
let values = Vec::from_iter(iterator);
compute_combinations(&values, k)
}
Expand Down

0 comments on commit 41e8d6a

Please sign in to comment.