diff --git a/src/tuple_impl.rs b/src/tuple_impl.rs index 2bd9a0413..9cfb484af 100644 --- a/src/tuple_impl.rs +++ b/src/tuple_impl.rs @@ -3,7 +3,6 @@ use std::iter::Cycle; use std::iter::Fuse; use std::iter::FusedIterator; -use std::marker::PhantomData; use crate::size_hint; @@ -252,7 +251,6 @@ where { iter: TupleWindows, T>, len: usize, - phantom_data: PhantomData, } pub fn circular_tuple_windows(iter: I) -> CircularTupleWindows @@ -264,11 +262,7 @@ where let len = iter.len(); let iter = tuple_windows(iter.cycle()); - CircularTupleWindows { - iter, - len, - phantom_data: PhantomData {}, - } + CircularTupleWindows { iter, len } } impl Iterator for CircularTupleWindows