Skip to content

Commit 43fe279

Browse files
committed
Use Self instead of macro argument
1 parent bfa59bc commit 43fe279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adaptors/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ macro_rules! impl_tuple_combination {
745745

746746
impl<I: Iterator + Clone> From<I> for $C<I> {
747747
fn from(mut iter: I) -> Self {
748-
$C {
748+
Self {
749749
item: iter.next(),
750750
iter: iter.clone(),
751751
c: $P::from(iter),

0 commit comments

Comments
 (0)