about summary refs log tree commit diff
path: root/src/libcore/str
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-08-12 17:23:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-08-15 18:09:16 -0700
commitb7dcf272d90657bfea13e54939ee04fed7c7f5f0 (patch)
treecdea478a10b63039317b56c9ce427f6fb67db182 /src/libcore/str
parent6634777ae0a89a535d7b43cd95c227724818a260 (diff)
downloadrust-b7dcf272d90657bfea13e54939ee04fed7c7f5f0.tar.gz
rust-b7dcf272d90657bfea13e54939ee04fed7c7f5f0.zip
core: Fill out issues for unstable features
Diffstat (limited to 'src/libcore/str')
-rw-r--r--src/libcore/str/mod.rs14
-rw-r--r--src/libcore/str/pattern.rs3
2 files changed, 11 insertions, 6 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs
index d5bceb3ba62..48118c18029 100644
--- a/src/libcore/str/mod.rs
+++ b/src/libcore/str/mod.rs
@@ -117,7 +117,8 @@ impl Utf8Error {
     ///
     /// Starting at the index provided, but not necessarily at it precisely, an
     /// invalid UTF-8 encoding sequence was found.
-    #[unstable(feature = "utf8_error", reason = "method just added")]
+    #[unstable(feature = "utf8_error", reason = "method just added",
+               issue = "27734")]
     pub fn valid_up_to(&self) -> usize { self.valid_up_to }
 }
 
@@ -190,7 +191,7 @@ fn unwrap_or_0(opt: Option<&u8>) -> u8 {
 
 /// Reads the next code point out of a byte iterator (assuming a
 /// UTF-8-like encoding).
-#[unstable(feature = "str_internals")]
+#[unstable(feature = "str_internals", issue = "0")]
 #[inline]
 pub fn next_code_point(bytes: &mut slice::Iter<u8>) -> Option<u32> {
     // Decode UTF-8
@@ -737,7 +738,8 @@ generate_pattern_iterators! {
         struct RMatchIndices;
     stability:
         #[unstable(feature = "str_match_indices",
-                   reason = "type may be removed or have its iterator impl changed")]
+                   reason = "type may be removed or have its iterator impl changed",
+                   issue = "27743")]
     internal:
         MatchIndicesInternal yielding ((usize, usize));
     delegate double ended;
@@ -1002,7 +1004,8 @@ static UTF8_CHAR_WIDTH: [u8; 256] = [
 #[unstable(feature = "str_char",
            reason = "existence of this struct is uncertain as it is frequently \
                      able to be replaced with char.len_utf8() and/or \
-                     char/char_indices iterators")]
+                     char/char_indices iterators",
+           issue = "27754")]
 pub struct CharRange {
     /// Current `char`
     pub ch: char,
@@ -1220,7 +1223,8 @@ mod traits {
 #[allow(missing_docs)]
 #[doc(hidden)]
 #[unstable(feature = "core_str_ext",
-           reason = "stable interface provided by `impl str` in later crates")]
+           reason = "stable interface provided by `impl str` in later crates",
+           issue = "27701")]
 pub trait StrExt {
     // NB there are no docs here are they're all located on the StrExt trait in
     // libcollections, not here.
diff --git a/src/libcore/str/pattern.rs b/src/libcore/str/pattern.rs
index 10ef689ba5d..dca3c5bcec8 100644
--- a/src/libcore/str/pattern.rs
+++ b/src/libcore/str/pattern.rs
@@ -14,7 +14,8 @@
 //! `ReverseSearcher` and `DoubleEndedSearcher`.
 
 #![unstable(feature = "pattern",
-            reason = "API not fully fleshed out and ready to be stabilized")]
+            reason = "API not fully fleshed out and ready to be stabilized",
+            issue = "27721")]
 
 use prelude::v1::*;