@@ -995,8 +995,10 @@ impl fmt::Debug for RangeFull {
995
995
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
996
996
pub struct Range < Idx > {
997
997
/// The lower bound of the range (inclusive).
998
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
998
999
pub start : Idx ,
999
1000
/// The upper bound of the range (exclusive).
1001
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1000
1002
pub end : Idx ,
1001
1003
}
1002
1004
@@ -1013,11 +1015,10 @@ impl<Idx: fmt::Debug> fmt::Debug for Range<Idx> {
1013
1015
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1014
1016
pub struct RangeFrom < Idx > {
1015
1017
/// The lower bound of the range (inclusive).
1018
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1016
1019
pub start : Idx ,
1017
1020
}
1018
1021
1019
-
1020
-
1021
1022
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1022
1023
impl < Idx : fmt:: Debug > fmt:: Debug for RangeFrom < Idx > {
1023
1024
fn fmt ( & self , fmt : & mut fmt:: Formatter ) -> fmt:: Result {
@@ -1031,6 +1032,7 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeFrom<Idx> {
1031
1032
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1032
1033
pub struct RangeTo < Idx > {
1033
1034
/// The upper bound of the range (exclusive).
1035
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1034
1036
pub end : Idx ,
1035
1037
}
1036
1038
@@ -1041,7 +1043,6 @@ impl<Idx: fmt::Debug> fmt::Debug for RangeTo<Idx> {
1041
1043
}
1042
1044
}
1043
1045
1044
-
1045
1046
/// The `Deref` trait is used to specify the functionality of dereferencing
1046
1047
/// operations like `*v`.
1047
1048
///
0 commit comments