diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-12 17:23:48 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-15 18:09:16 -0700 |
| commit | b7dcf272d90657bfea13e54939ee04fed7c7f5f0 (patch) | |
| tree | cdea478a10b63039317b56c9ce427f6fb67db182 /src/libcore/option.rs | |
| parent | 6634777ae0a89a535d7b43cd95c227724818a260 (diff) | |
| download | rust-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.rs | 6 |
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), |
