Skip to content

Commit 1348785

Browse files
committed
Specify generic in ArrayCombinations::new
1 parent 406eac2 commit 1348785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/combinations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub fn array_combinations<I: Iterator, const K: usize>(iter: I) -> ArrayCombinat
2424
where
2525
I::Item: Clone,
2626
{
27-
ArrayCombinations::new(iter, ArrayOrVecHelper::start(ConstUsize))
27+
ArrayCombinations::new(iter, ArrayOrVecHelper::start(ConstUsize::<K>))
2828
}
2929

3030
/// An iterator to iterate through all the `k`-length combinations in an iterator.

0 commit comments

Comments
 (0)