diff --git a/src/extensions/collectible.rs b/src/extensions/collectible.rs index 575c5d1..46f48f4 100644 --- a/src/extensions/collectible.rs +++ b/src/extensions/collectible.rs @@ -1310,9 +1310,6 @@ where Item: Clone + 'a, Collection: FromIterator + Sized, { - if k == 0 { - return vec!(Collection::from_iter(iter::empty())); - } let values = Vec::from_iter(iterator); compute_combinations(&values, k) }