Skip to content

Commit 99e4c0a

Browse files
committed
Tracking issue numbers
1 parent 2f0dd63 commit 99e4c0a

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

src/libcollections/str.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ impl str {
306306
/// assert!(v.get(..8).is_none());
307307
/// assert!(v.get(..42).is_none());
308308
/// ```
309-
#[unstable(feature = "str_checked_slicing", issue = "0")]
309+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
310310
#[inline]
311311
pub fn get<I: SliceIndex<str>>(&self, i: I) -> Option<&I::Output> {
312312
core_str::StrExt::get(self, i)
@@ -327,7 +327,7 @@ impl str {
327327
/// assert!(v.get_mut(..8).is_none());
328328
/// assert!(v.get_mut(..42).is_none());
329329
/// ```
330-
#[unstable(feature = "str_checked_slicing", issue = "0")]
330+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
331331
#[inline]
332332
pub fn get_mut<I: SliceIndex<str>>(&mut self, i: I) -> Option<&mut I::Output> {
333333
core_str::StrExt::get_mut(self, i)
@@ -360,7 +360,7 @@ impl str {
360360
/// assert_eq!("🌏", v.get_unchecked(7..11));
361361
/// }
362362
/// ```
363-
#[unstable(feature = "str_checked_slicing", issue = "0")]
363+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
364364
#[inline]
365365
pub unsafe fn get_unchecked<I: SliceIndex<str>>(&self, i: I) -> &I::Output {
366366
core_str::StrExt::get_unchecked(self, i)
@@ -393,7 +393,7 @@ impl str {
393393
/// assert_eq!("🌏", v.get_unchecked_mut(7..11));
394394
/// }
395395
/// ```
396-
#[unstable(feature = "str_checked_slicing", issue = "0")]
396+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
397397
#[inline]
398398
pub unsafe fn get_unchecked_mut<I: SliceIndex<str>>(&mut self, i: I) -> &mut I::Output {
399399
core_str::StrExt::get_unchecked_mut(self, i)

src/libcore/str/mod.rs

+10-10
Original file line numberDiff line numberDiff line change
@@ -1683,7 +1683,7 @@ mod traits {
16831683
}
16841684
}
16851685

1686-
#[unstable(feature = "str_checked_slicing", issue = "0")]
1686+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
16871687
impl SliceIndex<str> for ops::RangeFull {
16881688
type Output = str;
16891689
#[inline]
@@ -1712,7 +1712,7 @@ mod traits {
17121712
}
17131713
}
17141714

1715-
#[unstable(feature = "str_checked_slicing", issue = "0")]
1715+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
17161716
impl SliceIndex<str> for ops::Range<usize> {
17171717
type Output = str;
17181718
#[inline]
@@ -1766,7 +1766,7 @@ mod traits {
17661766
}
17671767
}
17681768

1769-
#[unstable(feature = "str_checked_slicing", issue = "0")]
1769+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
17701770
impl SliceIndex<str> for ops::RangeTo<usize> {
17711771
type Output = str;
17721772
#[inline]
@@ -1810,7 +1810,7 @@ mod traits {
18101810
}
18111811
}
18121812

1813-
#[unstable(feature = "str_checked_slicing", issue = "0")]
1813+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
18141814
impl SliceIndex<str> for ops::RangeFrom<usize> {
18151815
type Output = str;
18161816
#[inline]
@@ -1856,7 +1856,7 @@ mod traits {
18561856
}
18571857
}
18581858

1859-
#[unstable(feature = "str_checked_slicing", issue = "0")]
1859+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
18601860
impl SliceIndex<str> for ops::RangeInclusive<usize> {
18611861
type Output = str;
18621862
#[inline]
@@ -1905,7 +1905,7 @@ mod traits {
19051905

19061906

19071907

1908-
#[unstable(feature = "str_checked_slicing", issue = "0")]
1908+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
19091909
impl SliceIndex<str> for ops::RangeToInclusive<usize> {
19101910
type Output = str;
19111911
#[inline]
@@ -2001,13 +2001,13 @@ pub trait StrExt {
20012001
#[rustc_deprecated(since = "1.6.0", reason = "use lines() instead now")]
20022002
#[allow(deprecated)]
20032003
fn lines_any(&self) -> LinesAny;
2004-
#[unstable(feature = "str_checked_slicing", issue = "0")]
2004+
#[unstable(feature = "str_checked_slicing", issue = "39932")]
20052005
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")]
20072007
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")]
20092009
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")]
20112011
unsafe fn get_unchecked_mut<I: SliceIndex<str>>(&mut self, i: I) -> &mut I::Output;
20122012
#[stable(feature = "core", since = "1.6.0")]
20132013
unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str;

0 commit comments

Comments
 (0)