diff options
| author | Josh Stone <jistone@redhat.com> | 2025-06-23 10:24:40 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-07-01 10:54:33 -0700 |
| commit | 9ce8930da62a9be15831b78b9834d91702872e15 (patch) | |
| tree | a91c5c148f120aef477de63e62db7624cb65a54e /library/core/src/array | |
| parent | 076a0a26fd6f4c445647a33d6daaac56f732ac05 (diff) | |
| download | rust-9ce8930da62a9be15831b78b9834d91702872e15.tar.gz rust-9ce8930da62a9be15831b78b9834d91702872e15.zip | |
Update version placeholders
Diffstat (limited to 'library/core/src/array')
| -rw-r--r-- | library/core/src/array/iter.rs | 2 | ||||
| -rw-r--r-- | library/core/src/array/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs index a59b2f05305..fdae5c08f1e 100644 --- a/library/core/src/array/iter.rs +++ b/library/core/src/array/iter.rs @@ -224,7 +224,7 @@ impl<T, const N: usize> IntoIter<T, N> { } } -#[stable(feature = "array_value_iter_default", since = "CURRENT_RUSTC_VERSION")] +#[stable(feature = "array_value_iter_default", since = "1.89.0")] impl<T, const N: usize> Default for IntoIter<T, N> { fn default() -> Self { IntoIter::empty() diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs index 221ca91e005..5a46c04527b 100644 --- a/library/core/src/array/mod.rs +++ b/library/core/src/array/mod.rs @@ -588,7 +588,7 @@ impl<T, const N: usize> [T; N] { /// Returns a mutable slice containing the entire array. Equivalent to /// `&mut s[..]`. #[stable(feature = "array_as_slice", since = "1.57.0")] - #[rustc_const_stable(feature = "const_array_as_mut_slice", since = "CURRENT_RUSTC_VERSION")] + #[rustc_const_stable(feature = "const_array_as_mut_slice", since = "1.89.0")] pub const fn as_mut_slice(&mut self) -> &mut [T] { self } |
