File tree 1 file changed +2
-6
lines changed
library/core/src/iter/adapters
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -427,13 +427,9 @@ where
427
427
}
428
428
}
429
429
430
+ // Since SourceIter forwards the left hand side we do the same here
430
431
#[ unstable( issue = "none" , feature = "inplace_iteration" ) ]
431
- // Limited to Item: Copy since interaction between Zip's use of TrustedRandomAccess
432
- // and Drop implementation of the source is unclear.
433
- //
434
- // An additional method returning the number of times the source has been logically advanced
435
- // (without calling next()) would be needed to properly drop the remainder of the source.
436
- unsafe impl < A : InPlaceIterable , B : Iterator > InPlaceIterable for Zip < A , B > where A :: Item : Copy { }
432
+ unsafe impl < A : InPlaceIterable , B : Iterator > InPlaceIterable for Zip < A , B > { }
437
433
438
434
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
439
435
impl < A : Debug , B : Debug > Debug for Zip < A , B > {
You can’t perform that action at this time.
0 commit comments