diff options
| author | bors <bors@rust-lang.org> | 2024-11-02 14:12:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-11-02 14:12:12 +0000 |
| commit | 07cbbdd69363da97075650e9be24b78af0bcdd23 (patch) | |
| tree | 42948eb7578316c7ee491b6f1cfc47326bce5e95 /library/core/src/array | |
| parent | 588a4203508ed7c76750c96b482641261630ed36 (diff) | |
| parent | c4024585a418a732d9ae13017373b4f8b84b3ab2 (diff) | |
| download | rust-07cbbdd69363da97075650e9be24b78af0bcdd23.tar.gz rust-07cbbdd69363da97075650e9be24b78af0bcdd23.zip | |
Auto merge of #132513 - matthiaskrgr:rollup-y98jvsl, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #132481 (rustdoc: skip stability inheritance for some item kinds) - #132482 (library: fix some stability annotations) - #132493 (Fix type reference in documents which was being confused with html tags.) - #132494 (make `download-rustc="if-unchanged"` default for library profile) - #132495 (Remove unintended link) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/core/src/array')
| -rw-r--r-- | library/core/src/array/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs index 9b28b8b613e..4764d7f0b0f 100644 --- a/library/core/src/array/mod.rs +++ b/library/core/src/array/mod.rs @@ -2,7 +2,7 @@ //! //! *[See also the array primitive type](array).* -#![stable(feature = "core_array", since = "1.36.0")] +#![stable(feature = "core_array", since = "1.35.0")] use crate::borrow::{Borrow, BorrowMut}; use crate::cmp::Ordering; @@ -154,10 +154,11 @@ pub const fn from_mut<T>(s: &mut T) -> &mut [T; 1] { /// The error type returned when a conversion from a slice to an array fails. #[stable(feature = "try_from", since = "1.34.0")] +#[rustc_allowed_through_unstable_modules] #[derive(Debug, Copy, Clone)] pub struct TryFromSliceError(()); -#[stable(feature = "core_array", since = "1.36.0")] +#[stable(feature = "core_array", since = "1.35.0")] impl fmt::Display for TryFromSliceError { #[inline] fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
