diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2024-06-10 14:50:54 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2024-06-11 16:52:02 +0200 |
| commit | be9e27e490c9fb9fa4b3c962daa1fbd3acbc58ee (patch) | |
| tree | 672d600ec834e9b584e7d114610089e5b59cd2db /library/alloc/src/vec | |
| parent | 534b5855a6baf6da084c261593cdfb84cec01755 (diff) | |
| download | rust-be9e27e490c9fb9fa4b3c962daa1fbd3acbc58ee.tar.gz rust-be9e27e490c9fb9fa4b3c962daa1fbd3acbc58ee.zip | |
replace version placeholder
Diffstat (limited to 'library/alloc/src/vec')
| -rw-r--r-- | library/alloc/src/vec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs index aa9b632cbed..743429d26db 100644 --- a/library/alloc/src/vec/mod.rs +++ b/library/alloc/src/vec/mod.rs @@ -2649,7 +2649,7 @@ impl<T, A: Allocator, const N: usize> Vec<[T; N], A> { /// let mut flattened = vec.into_flattened(); /// assert_eq!(flattened.pop(), Some(6)); /// ``` - #[stable(feature = "slice_flatten", since = "CURRENT_RUSTC_VERSION")] + #[stable(feature = "slice_flatten", since = "1.80.0")] pub fn into_flattened(self) -> Vec<T, A> { let (ptr, len, cap, alloc) = self.into_raw_parts_with_alloc(); let (new_len, new_cap) = if T::IS_ZST { |
