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.
Clone
tuple_combinations
1 parent d2510f4 commit 25c1effCopy full SHA for 25c1eff
src/adaptors/mod.rs
@@ -629,7 +629,7 @@ pub trait HasCombination<I>: Sized {
629
/// Create a new `TupleCombinations` from a clonable iterator.
630
pub fn tuple_combinations<T, I>(iter: I) -> TupleCombinations<I, T>
631
where
632
- I: Iterator + Clone,
+ I: Iterator,
633
I::Item: Clone,
634
T: HasCombination<I>,
635
{
src/lib.rs
@@ -1667,7 +1667,7 @@ pub trait Itertools: Iterator {
1667
/// ```
1668
fn tuple_combinations<T>(self) -> TupleCombinations<Self, T>
1669
1670
- Self: Sized + Clone,
+ Self: Sized,
1671
Self::Item: Clone,
1672
T: adaptors::HasCombination<Self>,
1673
0 commit comments