File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
branches/stable/src/libcollections Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: 7469914e96a511487e8248d2f8a583befb02149f
32
+ refs/heads/stable: eb99f0e4207915f4cb4246d9d6bc6109fa04400c
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
34
34
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
35
35
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e
Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ impl str {
549
549
/// Takes a bytewise mutable slice from a string.
550
550
///
551
551
/// 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 " ) ]
553
553
pub unsafe fn slice_mut_unchecked ( & mut self , begin : usize , end : usize ) -> & mut str {
554
554
core_str:: StrExt :: slice_mut_unchecked ( self , begin, end)
555
555
}
@@ -789,12 +789,14 @@ impl str {
789
789
/// assert_eq!(b, " 老虎 Léopard");
790
790
/// ```
791
791
#[ inline]
792
+ #[ unstable( feature = "str_split_at" , reason = "recently added" ) ]
792
793
pub fn split_at ( & self , mid : usize ) -> ( & str , & str ) {
793
794
core_str:: StrExt :: split_at ( self , mid)
794
795
}
795
796
796
797
/// Divide one mutable string slice into two at an index.
797
798
#[ inline]
799
+ #[ unstable( feature = "str_split_at" , reason = "recently added" ) ]
798
800
pub fn split_at_mut ( & mut self , mid : usize ) -> ( & mut str , & mut str ) {
799
801
core_str:: StrExt :: split_at_mut ( self , mid)
800
802
}
You can’t perform that action at this time.
0 commit comments