diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-11-20 16:11:20 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2015-11-20 16:11:20 +0300 |
| commit | a613059e3fcfb751f7664f67a4a6c99faf436483 (patch) | |
| tree | bf18260a765345837e95ddeb80f0e91f04a4a131 /src/libcore/option.rs | |
| parent | 2228bacd62ca8970a7a59401e78d0c5a34fc0f87 (diff) | |
| download | rust-a613059e3fcfb751f7664f67a4a6c99faf436483.tar.gz rust-a613059e3fcfb751f7664f67a4a6c99faf436483.zip | |
Rename #[deprecated] to #[rustc_deprecated]
Diffstat (limited to 'src/libcore/option.rs')
| -rw-r--r-- | src/libcore/option.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs index 7a3b83f68d0..209cebeaf1b 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -290,7 +290,7 @@ impl<T> Option<T> { #[unstable(feature = "as_slice", reason = "waiting for mut conventions", issue = "27776")] - #[deprecated(since = "1.4.0", reason = "niche API, unclear of usefulness")] + #[rustc_deprecated(since = "1.4.0", reason = "niche API, unclear of usefulness")] #[allow(deprecated)] pub fn as_mut_slice(&mut self) -> &mut [T] { match *self { @@ -695,7 +695,7 @@ impl<T> Option<T> { #[inline] #[unstable(feature = "as_slice", reason = "unsure of the utility here", issue = "27776")] - #[deprecated(since = "1.4.0", reason = "niche API, unclear of usefulness")] + #[rustc_deprecated(since = "1.4.0", reason = "niche API, unclear of usefulness")] #[allow(deprecated)] pub fn as_slice(&self) -> &[T] { match *self { |
