diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2016-10-04 15:24:02 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-04 15:24:02 +0530 |
| commit | d25aeb0ef1c4472e853eb9f3bc0acef7bf9a6536 (patch) | |
| tree | d1631833677beed85553dd2e0a1cacc5ed104acf /src/libcore/array.rs | |
| parent | e39a78a28ce7a66944f08c3cd12c0be0282d4827 (diff) | |
| parent | 06a7dcd35588c0dd6eaa0a523b30e4140ff79868 (diff) | |
| download | rust-d25aeb0ef1c4472e853eb9f3bc0acef7bf9a6536.tar.gz rust-d25aeb0ef1c4472e853eb9f3bc0acef7bf9a6536.zip | |
Rollup merge of #36902 - ollie27:stab_impls, r=alexcrichton
std: Correct stability attributes for some implementations These are displayed by rustdoc so should be correct.
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/array.rs b/src/libcore/array.rs index 9866a39619a..37bd57034a7 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -93,6 +93,7 @@ macro_rules! __impl_slice_eq2 { macro_rules! array_impls { ($($N:expr)+) => { $( + #[stable(feature = "rust1", since = "1.0.0")] impl<T> AsRef<[T]> for [T; $N] { #[inline] fn as_ref(&self) -> &[T] { @@ -100,6 +101,7 @@ macro_rules! array_impls { } } + #[stable(feature = "rust1", since = "1.0.0")] impl<T> AsMut<[T]> for [T; $N] { #[inline] fn as_mut(&mut self) -> &mut [T] { |
