Skip to content

Commit dcc4b80

Browse files
committed
fn from delegates work to other implementation
1 parent 118f49f commit dcc4b80

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/adaptors/mod.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -757,12 +757,7 @@ macro_rules! impl_tuple_combination {
757757

758758
impl<I: Iterator + Clone> From<I> for $C<Fuse<I>> {
759759
fn from(iter: I) -> Self {
760-
let mut iter = iter.fuse();
761-
$C {
762-
item: iter.next(),
763-
iter: iter.clone(),
764-
c: $P::from(iter),
765-
}
760+
Self::from(iter.fuse())
766761
}
767762
}
768763

0 commit comments

Comments
 (0)