pub fn combinations_with_replacement<I>(
    iter: I,
    k: usize,
) -> CombinationsWithReplacement<I> 
where I: Iterator, I::Item: Clone,
Expand description

Create a new CombinationsWithReplacement from a clonable iterator.