File tree 2 files changed +3
-2
lines changed
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 {
1824
1824
}
1825
1825
1826
1826
/// An iterator with a `peek()` that returns an optional reference to the next element.
1827
+ #[ derive( Clone ) ]
1827
1828
#[ must_use = "iterator adaptors are lazy and do nothing unless consumed" ]
1828
1829
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1829
1830
pub 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 {
977
977
}
978
978
979
979
/// A (half-open) range which is bounded at both ends.
980
- #[ derive( Copy , Clone , PartialEq , Eq ) ]
980
+ #[ derive( Clone , PartialEq , Eq ) ]
981
981
#[ lang="range" ]
982
982
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
983
983
pub struct Range < Idx > {
@@ -995,7 +995,7 @@ impl<Idx: fmt::Debug> fmt::Debug for Range<Idx> {
995
995
}
996
996
997
997
/// A range which is only bounded below.
998
- #[ derive( Copy , Clone , PartialEq , Eq ) ]
998
+ #[ derive( Clone , PartialEq , Eq ) ]
999
999
#[ lang="range_from" ]
1000
1000
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1001
1001
pub struct RangeFrom < Idx > {
You can’t perform that action at this time.
0 commit comments