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
This commit is contained in:
parent
0b42deaccc
commit
305dd6908c
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user