about summary refs log tree commit diff
path: root/src/libcore/option.rs
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/option.rs
parent6634777ae0a89a535d7b43cd95c227724818a260 (diff)
downloadrust-b7dcf272d90657bfea13e54939ee04fed7c7f5f0.tar.gz
rust-b7dcf272d90657bfea13e54939ee04fed7c7f5f0.zip
core: Fill out issues for unstable features
Diffstat (limited to 'src/libcore/option.rs')
-rw-r--r--src/libcore/option.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs
index 2235dc4af11..e64048c82d8 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -287,7 +287,8 @@ impl<T> Option<T> {
     /// ```
     #[inline]
     #[unstable(feature = "as_slice",
-               reason = "waiting for mut conventions")]
+               reason = "waiting for mut conventions",
+               issue = "27776")]
     pub fn as_mut_slice<'r>(&'r mut self) -> &'r mut [T] {
         match *self {
             Some(ref mut x) => {
@@ -689,7 +690,8 @@ impl<T> Option<T> {
 
     /// Converts from `Option<T>` to `&[T]` (without copying)
     #[inline]
-    #[unstable(feature = "as_slice", since = "unsure of the utility here")]
+    #[unstable(feature = "as_slice", since = "unsure of the utility here",
+               issue = "27776")]
     pub fn as_slice<'a>(&'a self) -> &'a [T] {
         match *self {
             Some(ref x) => slice::ref_slice(x),