Skip to content

Commit

Permalink
remove Clone bound from array_combinations
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnodas authored and jswrenn committed Jan 3, 2025
1 parent a015a68 commit d2510f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1715,7 +1715,7 @@ pub trait Itertools: Iterator {
#[cfg(feature = "use_alloc")]
fn array_combinations<const K: usize>(self) -> ArrayCombinations<Self, K>
where
Self: Sized + Clone,
Self: Sized,
Self::Item: Clone,
{
combinations::array_combinations(self)
Expand Down

0 comments on commit d2510f4

Please sign in to comment.