@@ -1683,7 +1683,7 @@ mod traits {
1683
1683
}
1684
1684
}
1685
1685
1686
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
1686
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
1687
1687
impl SliceIndex < str > for ops:: RangeFull {
1688
1688
type Output = str ;
1689
1689
#[ inline]
@@ -1712,7 +1712,7 @@ mod traits {
1712
1712
}
1713
1713
}
1714
1714
1715
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
1715
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
1716
1716
impl SliceIndex < str > for ops:: Range < usize > {
1717
1717
type Output = str ;
1718
1718
#[ inline]
@@ -1766,7 +1766,7 @@ mod traits {
1766
1766
}
1767
1767
}
1768
1768
1769
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
1769
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
1770
1770
impl SliceIndex < str > for ops:: RangeTo < usize > {
1771
1771
type Output = str ;
1772
1772
#[ inline]
@@ -1810,7 +1810,7 @@ mod traits {
1810
1810
}
1811
1811
}
1812
1812
1813
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
1813
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
1814
1814
impl SliceIndex < str > for ops:: RangeFrom < usize > {
1815
1815
type Output = str ;
1816
1816
#[ inline]
@@ -1856,7 +1856,7 @@ mod traits {
1856
1856
}
1857
1857
}
1858
1858
1859
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
1859
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
1860
1860
impl SliceIndex < str > for ops:: RangeInclusive < usize > {
1861
1861
type Output = str ;
1862
1862
#[ inline]
@@ -1905,7 +1905,7 @@ mod traits {
1905
1905
1906
1906
1907
1907
1908
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
1908
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
1909
1909
impl SliceIndex < str > for ops:: RangeToInclusive < usize > {
1910
1910
type Output = str ;
1911
1911
#[ inline]
@@ -2001,13 +2001,13 @@ pub trait StrExt {
2001
2001
#[ rustc_deprecated( since = "1.6.0" , reason = "use lines() instead now" ) ]
2002
2002
#[ allow( deprecated) ]
2003
2003
fn lines_any ( & self ) -> LinesAny ;
2004
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
2004
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
2005
2005
fn get < I : SliceIndex < str > > ( & self , i : I ) -> Option < & I :: Output > ;
2006
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
2006
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
2007
2007
fn get_mut < I : SliceIndex < str > > ( & mut self , i : I ) -> Option < & mut I :: Output > ;
2008
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
2008
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
2009
2009
unsafe fn get_unchecked < I : SliceIndex < str > > ( & self , i : I ) -> & I :: Output ;
2010
- #[ unstable( feature = "str_checked_slicing" , issue = "0 " ) ]
2010
+ #[ unstable( feature = "str_checked_slicing" , issue = "39932 " ) ]
2011
2011
unsafe fn get_unchecked_mut < I : SliceIndex < str > > ( & mut self , i : I ) -> & mut I :: Output ;
2012
2012
#[ stable( feature = "core" , since = "1.6.0" ) ]
2013
2013
unsafe fn slice_unchecked ( & self , begin : usize , end : usize ) -> & str ;
0 commit comments