Skip to content

Commit 6781e88

Browse files
committed
---
yaml --- r: 223833 b: refs/heads/beta c: eb99f0e h: refs/heads/master i: 223831: af15de7 v: v3
1 parent 3b27ca3 commit 6781e88

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 7469914e96a511487e8248d2f8a583befb02149f
26+
refs/heads/beta: eb99f0e4207915f4cb4246d9d6bc6109fa04400c
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: 938f5d7af401e2d8238522fed4a612943b6e77fd
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/src/libcollections/str.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)