@@ -983,8 +983,10 @@ impl fmt::Debug for RangeFull {
983
983
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
984
984
pub struct Range < Idx > {
985
985
/// The lower bound of the range (inclusive).
986
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
986
987
pub start : Idx ,
987
988
/// The upper bound of the range (exclusive).
989
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
988
990
pub end : Idx ,
989
991
}
990
992
@@ -1001,11 +1003,10 @@ impl<Idx: fmt::Debug> fmt::Debug for Range<Idx> {
1001
1003
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1002
1004
pub struct RangeFrom < Idx > {
1003
1005
/// The lower bound of the range (inclusive).
1006
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1004
1007
pub start : Idx ,
1005
1008
}
1006
1009
1007
-
1008
-
1009
1010
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1010
1011
impl < Idx : fmt:: Debug > fmt:: Debug for RangeFrom < Idx > {
1011
1012
fn fmt ( & self , fmt : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -1019,6 +1020,7 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeFrom<Idx> {
1019
1020
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1020
1021
pub struct RangeTo < Idx > {
1021
1022
/// The upper bound of the range (exclusive).
1023
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1022
1024
pub end : Idx ,
1023
1025
}
1024
1026
@@ -1029,7 +1031,6 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeTo<Idx> {
1029
1031
}
1030
1032
}
1031
1033
1032
-
1033
1034
/// The `Deref` trait is used to specify the functionality of dereferencing
1034
1035
/// operations like `*v`.
1035
1036
///
0 commit comments