Skip to content

Commit

Permalink
Added derive(Clone) to CircularTupleWindows.
Browse files Browse the repository at this point in the history
  • Loading branch information
zachs18 committed Mar 23, 2023
1 parent 409d852 commit 39db89b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tuple_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ impl<I, T> FusedIterator for TupleWindows<I, T>
/// See [`.circular_tuple_windows()`](crate::Itertools::circular_tuple_windows) for more
/// information.
#[must_use = "iterator adaptors are lazy and do nothing unless consumed"]
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct CircularTupleWindows<I, T: Clone>
where I: Iterator<Item = T::Item> + Clone,
T: TupleCollect + Clone
Expand Down

0 comments on commit 39db89b

Please sign in to comment.