Skip to content

Commit

Permalink
Fix since attribute for const_linked_list_new feature
Browse files Browse the repository at this point in the history
#63684
was merged for 1.39 not 1.32
  • Loading branch information
not-my-profile committed Dec 10, 2021
1 parent 0b42dea commit 305dd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/collections/linked_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 305dd69

Please sign in to comment.