File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ impl str {
549549 /// Takes a bytewise mutable slice from a string.
550550 ///
551551 /// Same as `slice_unchecked`, but works with `&mut str` instead of `&str`.
552- #[ stable ( feature = "derefmut_for_string " , since = "1.2.0 " ) ]
552+ #[ unstable ( feature = "str_slice_mut " , reason = "recently added " ) ]
553553 pub unsafe fn slice_mut_unchecked ( & mut self , begin : usize , end : usize ) -> & mut str {
554554 core_str:: StrExt :: slice_mut_unchecked ( self , begin, end)
555555 }
@@ -789,12 +789,14 @@ impl str {
789789 /// assert_eq!(b, " 老虎 Léopard");
790790 /// ```
791791 #[ inline]
792+ #[ unstable( feature = "str_split_at" , reason = "recently added" ) ]
792793 pub fn split_at ( & self , mid : usize ) -> ( & str , & str ) {
793794 core_str:: StrExt :: split_at ( self , mid)
794795 }
795796
796797 /// Divide one mutable string slice into two at an index.
797798 #[ inline]
799+ #[ unstable( feature = "str_split_at" , reason = "recently added" ) ]
798800 pub fn split_at_mut ( & mut self , mid : usize ) -> ( & mut str , & mut str ) {
799801 core_str:: StrExt :: split_at_mut ( self , mid)
800802 }
You can’t perform that action at this time.
0 commit comments