Skip to content

Commit

Permalink
Rollup merge of #91755 - not-my-profile:fix-const_linked_list_new-sin…
Browse files Browse the repository at this point in the history
…ce, r=dtolnay

Fix since attribute for const_linked_list_new feature

#63684
was merged for 1.39 not 1.32
  • Loading branch information
matthiaskrgr committed Dec 10, 2021
2 parents f47131f + 305dd69 commit 8d5ce4a
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 8d5ce4a

Please sign in to comment.