Skip to content

Commit 1b83fed

Browse files
committed
Update std_collections_from_array stability version
1 parent 2db0523 commit 1b83fed

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

library/alloc/src/collections/binary_heap.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1451,7 +1451,7 @@ impl<T: Ord> From<Vec<T>> for BinaryHeap<T> {
14511451
}
14521452
}
14531453

1454-
#[stable(feature = "std_collections_from_array", since = "1.55.0")]
1454+
#[stable(feature = "std_collections_from_array", since = "1.56.0")]
14551455
impl<T: Ord, const N: usize> From<[T; N]> for BinaryHeap<T> {
14561456
/// ```
14571457
/// use std::collections::BinaryHeap;

library/alloc/src/collections/btree/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,7 @@ where
20432043
}
20442044
}
20452045

2046-
#[stable(feature = "std_collections_from_array", since = "1.55.0")]
2046+
#[stable(feature = "std_collections_from_array", since = "1.56.0")]
20472047
impl<K: Ord, V, const N: usize> From<[(K, V); N]> for BTreeMap<K, V> {
20482048
/// ```
20492049
/// use std::collections::BTreeMap;

library/alloc/src/collections/btree/set.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ impl<T: Ord> FromIterator<T> for BTreeSet<T> {
10651065
}
10661066
}
10671067

1068-
#[stable(feature = "std_collections_from_array", since = "1.55.0")]
1068+
#[stable(feature = "std_collections_from_array", since = "1.56.0")]
10691069
impl<T: Ord, const N: usize> From<[T; N]> for BTreeSet<T> {
10701070
/// ```
10711071
/// use std::collections::BTreeSet;

library/alloc/src/collections/linked_list.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ impl<T: Hash> Hash for LinkedList<T> {
17741774
}
17751775
}
17761776

1777-
#[stable(feature = "std_collections_from_array", since = "1.55.0")]
1777+
#[stable(feature = "std_collections_from_array", since = "1.56.0")]
17781778
impl<T, const N: usize> From<[T; N]> for LinkedList<T> {
17791779
/// ```
17801780
/// use std::collections::LinkedList;

library/alloc/src/collections/vec_deque/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2864,7 +2864,7 @@ impl<T> From<VecDeque<T>> for Vec<T> {
28642864
}
28652865
}
28662866

2867-
#[stable(feature = "std_collections_from_array", since = "1.55.0")]
2867+
#[stable(feature = "std_collections_from_array", since = "1.56.0")]
28682868
impl<T, const N: usize> From<[T; N]> for VecDeque<T> {
28692869
/// ```
28702870
/// use std::collections::VecDeque;

library/std/src/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ where
11541154
}
11551155
}
11561156

1157-
#[stable(feature = "std_collections_from_array", since = "1.55.0")]
1157+
#[stable(feature = "std_collections_from_array", since = "1.56.0")]
11581158
// Note: as what is currently the most convenient built-in way to construct
11591159
// a HashMap, a simple usage of this function must not *require* the user
11601160
// to provide a type annotation in order to infer the third type parameter

library/std/src/collections/hash/set.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ where
996996
}
997997
}
998998

999-
#[stable(feature = "std_collections_from_array", since = "1.55.0")]
999+
#[stable(feature = "std_collections_from_array", since = "1.56.0")]
10001000
// Note: as what is currently the most convenient built-in way to construct
10011001
// a HashSet, a simple usage of this function must not *require* the user
10021002
// to provide a type annotation in order to infer the third type parameter

0 commit comments

Comments
 (0)