File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1824,6 +1824,7 @@ impl<I> RandomAccessIterator for Enumerate<I> where I: RandomAccessIterator {
18241824}
18251825
18261826/// An iterator with a `peek()` that returns an optional reference to the next element.
1827+ #[ derive( Clone ) ]
18271828#[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
18281829#[ stable( feature = "rust1" , since = "1.0.0" ) ]
18291830pub struct Peekable < T , I > where I : Iterator < Item =T > {
Original file line number Diff line number Diff line change @@ -977,7 +977,7 @@ impl fmt::Debug for RangeFull {
977977}
978978
979979/// A (half-open) range which is bounded at both ends.
980- #[ derive( Copy , Clone , PartialEq , Eq ) ]
980+ #[ derive( Clone , PartialEq , Eq ) ]
981981#[ lang="range" ]
982982#[ stable( feature = "rust1" , since = "1.0.0" ) ]
983983pub struct Range < Idx > {
@@ -995,7 +995,7 @@ impl<Idx: fmt::Debug> fmt::Debug for Range<Idx> {
995995}
996996
997997/// A range which is only bounded below.
998- #[ derive( Copy , Clone , PartialEq , Eq ) ]
998+ #[ derive( Clone , PartialEq , Eq ) ]
999999#[ lang="range_from" ]
10001000#[ stable( feature = "rust1" , since = "1.0.0" ) ]
10011001pub struct RangeFrom < Idx > {
You can’t perform that action at this time.
0 commit comments