diff options
| author | bors <bors@rust-lang.org> | 2024-02-09 18:09:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-09 18:09:02 +0000 |
| commit | f4cfd872028398da2b2d85c368c51f4d007dc6af (patch) | |
| tree | de4ecb03d5b55b630c9d74ca8fed2665716a1719 /library/core/src/array | |
| parent | e28fae52d99d7c14bf0890d1f2b13c2c34fa8932 (diff) | |
| parent | 9a5034a20ed8b055dc615271f9d9cf27f9e494f0 (diff) | |
| download | rust-f4cfd872028398da2b2d85c368c51f4d007dc6af.tar.gz rust-f4cfd872028398da2b2d85c368c51f4d007dc6af.zip | |
Auto merge of #120676 - Mark-Simulacrum:bootstrap-bump, r=clubby789
Bump bootstrap compiler to just-built 1.77 beta https://forge.rust-lang.org/release/process.html#master-bootstrap-update-t-2-day-tuesday
Diffstat (limited to 'library/core/src/array')
| -rw-r--r-- | library/core/src/array/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/array/mod.rs b/library/core/src/array/mod.rs index 85cce81f2c1..743f07644e3 100644 --- a/library/core/src/array/mod.rs +++ b/library/core/src/array/mod.rs @@ -576,7 +576,7 @@ impl<T, const N: usize> [T; N] { /// // We can still access the original array: it has not been moved. /// assert_eq!(strings.len(), 3); /// ``` - #[stable(feature = "array_methods", since = "CURRENT_RUSTC_VERSION")] + #[stable(feature = "array_methods", since = "1.77.0")] pub fn each_ref(&self) -> [&T; N] { from_trusted_iterator(self.iter()) } @@ -595,7 +595,7 @@ impl<T, const N: usize> [T; N] { /// assert_eq!(float_refs, [&mut 0.0, &mut 2.7, &mut -1.0]); /// assert_eq!(floats, [0.0, 2.7, -1.0]); /// ``` - #[stable(feature = "array_methods", since = "CURRENT_RUSTC_VERSION")] + #[stable(feature = "array_methods", since = "1.77.0")] pub fn each_mut(&mut self) -> [&mut T; N] { from_trusted_iterator(self.iter_mut()) } |
