@@ -1776,7 +1776,7 @@ mod traits {
17761776 }
17771777 }
17781778
1779- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
1779+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
17801780 impl SliceIndex < str > for ops:: RangeFull {
17811781 type Output = str ;
17821782 #[ inline]
@@ -1805,7 +1805,7 @@ mod traits {
18051805 }
18061806 }
18071807
1808- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
1808+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
18091809 impl SliceIndex < str > for ops:: Range < usize > {
18101810 type Output = str ;
18111811 #[ inline]
@@ -1859,7 +1859,7 @@ mod traits {
18591859 }
18601860 }
18611861
1862- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
1862+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
18631863 impl SliceIndex < str > for ops:: RangeTo < usize > {
18641864 type Output = str ;
18651865 #[ inline]
@@ -1904,7 +1904,7 @@ mod traits {
19041904 }
19051905 }
19061906
1907- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
1907+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
19081908 impl SliceIndex < str > for ops:: RangeFrom < usize > {
19091909 type Output = str ;
19101910 #[ inline]
@@ -1951,7 +1951,7 @@ mod traits {
19511951 }
19521952 }
19531953
1954- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
1954+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
19551955 impl SliceIndex < str > for ops:: RangeInclusive < usize > {
19561956 type Output = str ;
19571957 #[ inline]
@@ -1994,7 +1994,7 @@ mod traits {
19941994
19951995
19961996
1997- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
1997+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
19981998 impl SliceIndex < str > for ops:: RangeToInclusive < usize > {
19991999 type Output = str ;
20002000 #[ inline]
@@ -2094,13 +2094,13 @@ pub trait StrExt {
20942094 #[ rustc_deprecated( since = "1.6.0" , reason = "use lines() instead now" ) ]
20952095 #[ allow( deprecated) ]
20962096 fn lines_any ( & self ) -> LinesAny ;
2097- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
2097+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
20982098 fn get < I : SliceIndex < str > > ( & self , i : I ) -> Option < & I :: Output > ;
2099- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
2099+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
21002100 fn get_mut < I : SliceIndex < str > > ( & mut self , i : I ) -> Option < & mut I :: Output > ;
2101- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
2101+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
21022102 unsafe fn get_unchecked < I : SliceIndex < str > > ( & self , i : I ) -> & I :: Output ;
2103- #[ unstable ( feature = "str_checked_slicing" , issue = "39932 " ) ]
2103+ #[ stable ( feature = "str_checked_slicing" , since = "1.20.0 " ) ]
21042104 unsafe fn get_unchecked_mut < I : SliceIndex < str > > ( & mut self , i : I ) -> & mut I :: Output ;
21052105 #[ stable( feature = "core" , since = "1.6.0" ) ]
21062106 unsafe fn slice_unchecked ( & self , begin : usize , end : usize ) -> & str ;
0 commit comments