diff options
| author | Martin Fischer <martin@push-f.com> | 2021-12-10 20:20:24 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2021-12-10 20:22:19 +0100 |
| commit | 305dd6908c8eb5e36b60f4480cd965db011756b5 (patch) | |
| tree | 53b0e39201a10cec3bf91df27a18c33e12728b9c | |
| parent | 0b42deaccc2cbe17a68067aa5fdb76104369e1fd (diff) | |
| download | rust-305dd6908c8eb5e36b60f4480cd965db011756b5.tar.gz rust-305dd6908c8eb5e36b60f4480cd965db011756b5.zip | |
Fix since attribute for const_linked_list_new feature
https://github.com/rust-lang/rust/pull/63684 was merged for 1.39 not 1.32
| -rw-r--r-- | library/alloc/src/collections/linked_list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/collections/linked_list.rs b/library/alloc/src/collections/linked_list.rs index c8aad4877e9..4a07d5d4bed 100644 --- a/library/alloc/src/collections/linked_list.rs +++ b/library/alloc/src/collections/linked_list.rs @@ -417,7 +417,7 @@ impl<T> LinkedList<T> { /// let list: LinkedList<u32> = LinkedList::new(); /// ``` #[inline] - #[rustc_const_stable(feature = "const_linked_list_new", since = "1.32.0")] + #[rustc_const_stable(feature = "const_linked_list_new", since = "1.39.0")] #[stable(feature = "rust1", since = "1.0.0")] #[must_use] pub const fn new() -> Self { |
