about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2017-03-22 18:39:41 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2017-03-22 18:43:01 +0200
commit99e4c0ad8b0c2e551e7ef0db60b8a2b84f35c1ee (patch)
treec648ae50c1b396898f2e9f75cdf7265ddbe5f6c8
parent2f0dd63bbe83938b9eda5b6076543d420bae2f2b (diff)
downloadrust-99e4c0ad8b0c2e551e7ef0db60b8a2b84f35c1ee.tar.gz
rust-99e4c0ad8b0c2e551e7ef0db60b8a2b84f35c1ee.zip
Tracking issue numbers
-rw-r--r--src/libcollections/str.rs8
-rw-r--r--src/libcore/str/mod.rs20
2 files changed, 14 insertions, 14 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs
index 84b73090817..4fe2b826c96 100644
--- a/src/libcollections/str.rs
+++ b/src/libcollections/str.rs
@@ -306,7 +306,7 @@ impl str {
     /// assert!(v.get(..8).is_none());
     /// assert!(v.get(..42).is_none());
     /// ```
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     #[inline]
     pub fn get<I: SliceIndex<str>>(&self, i: I) -> Option<&I::Output> {
         core_str::StrExt::get(self, i)
@@ -327,7 +327,7 @@ impl str {
     /// assert!(v.get_mut(..8).is_none());
     /// assert!(v.get_mut(..42).is_none());
     /// ```
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     #[inline]
     pub fn get_mut<I: SliceIndex<str>>(&mut self, i: I) -> Option<&mut I::Output> {
         core_str::StrExt::get_mut(self, i)
@@ -360,7 +360,7 @@ impl str {
     ///     assert_eq!("🌏", v.get_unchecked(7..11));
     /// }
     /// ```
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     #[inline]
     pub unsafe fn get_unchecked<I: SliceIndex<str>>(&self, i: I) -> &I::Output {
         core_str::StrExt::get_unchecked(self, i)
@@ -393,7 +393,7 @@ impl str {
     ///     assert_eq!("🌏", v.get_unchecked_mut(7..11));
     /// }
     /// ```
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     #[inline]
     pub unsafe fn get_unchecked_mut<I: SliceIndex<str>>(&mut self, i: I) -> &mut I::Output {
         core_str::StrExt::get_unchecked_mut(self, i)
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index aecfaa7ee02..b6c421ecd32 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -1683,7 +1683,7 @@ mod traits {
         }
     }
 
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     impl SliceIndex<str> for ops::RangeFull {
         type Output = str;
         #[inline]
@@ -1712,7 +1712,7 @@ mod traits {
         }
     }
 
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     impl SliceIndex<str> for ops::Range<usize> {
         type Output = str;
         #[inline]
@@ -1766,7 +1766,7 @@ mod traits {
         }
     }
 
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     impl SliceIndex<str> for ops::RangeTo<usize> {
         type Output = str;
         #[inline]
@@ -1810,7 +1810,7 @@ mod traits {
         }
     }
 
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     impl SliceIndex<str> for ops::RangeFrom<usize> {
         type Output = str;
         #[inline]
@@ -1856,7 +1856,7 @@ mod traits {
         }
     }
 
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     impl SliceIndex<str> for ops::RangeInclusive<usize> {
         type Output = str;
         #[inline]
@@ -1905,7 +1905,7 @@ mod traits {
 
 
 
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     impl SliceIndex<str> for ops::RangeToInclusive<usize> {
         type Output = str;
         #[inline]
@@ -2001,13 +2001,13 @@ pub trait StrExt {
     #[rustc_deprecated(since = "1.6.0", reason = "use lines() instead now")]
     #[allow(deprecated)]
     fn lines_any(&self) -> LinesAny;
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     fn get<I: SliceIndex<str>>(&self, i: I) -> Option<&I::Output>;
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     fn get_mut<I: SliceIndex<str>>(&mut self, i: I) -> Option<&mut I::Output>;
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     unsafe fn get_unchecked<I: SliceIndex<str>>(&self, i: I) -> &I::Output;
-    #[unstable(feature = "str_checked_slicing", issue = "0")]
+    #[unstable(feature = "str_checked_slicing", issue = "39932")]
     unsafe fn get_unchecked_mut<I: SliceIndex<str>>(&mut self, i: I) -> &mut I::Output;
     #[stable(feature = "core", since = "1.6.0")]
     unsafe fn slice_unchecked(&self, begin: usize, end: usize) -> &str;