Skip to content

Commit 8d5ce4a

Browse files
authored
Rollup merge of rust-lang#91755 - not-my-profile:fix-const_linked_list_new-since, r=dtolnay
Fix since attribute for const_linked_list_new feature rust-lang#63684 was merged for 1.39 not 1.32
2 parents f47131f + 305dd69 commit 8d5ce4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/collections/linked_list.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ impl<T> LinkedList<T> {
417417
/// let list: LinkedList<u32> = LinkedList::new();
418418
/// ```
419419
#[inline]
420-
#[rustc_const_stable(feature = "const_linked_list_new", since = "1.32.0")]
420+
#[rustc_const_stable(feature = "const_linked_list_new", since = "1.39.0")]
421421
#[stable(feature = "rust1", since = "1.0.0")]
422422
#[must_use]
423423
pub const fn new() -> Self {

0 commit comments

Comments
 (0)