diff options
| author | bstrie <865233+bstrie@users.noreply.github.com> | 2021-07-24 14:04:51 -0400 |
|---|---|---|
| committer | bstrie <865233+bstrie@users.noreply.github.com> | 2021-07-24 14:04:51 -0400 |
| commit | 1b83fedda46d0162952d00f25a60c22028c1e15a (patch) | |
| tree | 67c9b4844104cab000a0ae11b74d5edc19fab7bc /library/alloc | |
| parent | 2db05230d35c068c557fe476cf16197836580c2d (diff) | |
| download | rust-1b83fedda46d0162952d00f25a60c22028c1e15a.tar.gz rust-1b83fedda46d0162952d00f25a60c22028c1e15a.zip | |
Update std_collections_from_array stability version
Diffstat (limited to 'library/alloc')
| -rw-r--r-- | library/alloc/src/collections/binary_heap.rs | 2 | ||||
| -rw-r--r-- | library/alloc/src/collections/btree/map.rs | 2 | ||||
| -rw-r--r-- | library/alloc/src/collections/btree/set.rs | 2 | ||||
| -rw-r--r-- | library/alloc/src/collections/linked_list.rs | 2 | ||||
| -rw-r--r-- | library/alloc/src/collections/vec_deque/mod.rs | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/library/alloc/src/collections/binary_heap.rs b/library/alloc/src/collections/binary_heap.rs index 2f999a10a96..a6bd554c5c3 100644 --- a/library/alloc/src/collections/binary_heap.rs +++ b/library/alloc/src/collections/binary_heap.rs @@ -1451,7 +1451,7 @@ impl<T: Ord> From<Vec<T>> for BinaryHeap<T> { } } -#[stable(feature = "std_collections_from_array", since = "1.55.0")] +#[stable(feature = "std_collections_from_array", since = "1.56.0")] impl<T: Ord, const N: usize> From<[T; N]> for BinaryHeap<T> { /// ``` /// use std::collections::BinaryHeap; diff --git a/library/alloc/src/collections/btree/map.rs b/library/alloc/src/collections/btree/map.rs index 708389579db..c45e3888d93 100644 --- a/library/alloc/src/collections/btree/map.rs +++ b/library/alloc/src/collections/btree/map.rs @@ -2043,7 +2043,7 @@ where } } -#[stable(feature = "std_collections_from_array", since = "1.55.0")] +#[stable(feature = "std_collections_from_array", since = "1.56.0")] impl<K: Ord, V, const N: usize> From<[(K, V); N]> for BTreeMap<K, V> { /// ``` /// use std::collections::BTreeMap; diff --git a/library/alloc/src/collections/btree/set.rs b/library/alloc/src/collections/btree/set.rs index 56c2cb56b5b..f02c1640e49 100644 --- a/library/alloc/src/collections/btree/set.rs +++ b/library/alloc/src/collections/btree/set.rs @@ -1065,7 +1065,7 @@ impl<T: Ord> FromIterator<T> for BTreeSet<T> { } } -#[stable(feature = "std_collections_from_array", since = "1.55.0")] +#[stable(feature = "std_collections_from_array", since = "1.56.0")] impl<T: Ord, const N: usize> From<[T; N]> for BTreeSet<T> { /// ``` /// use std::collections::BTreeSet; diff --git a/library/alloc/src/collections/linked_list.rs b/library/alloc/src/collections/linked_list.rs index 8b978a4e806..32ba5be3bd3 100644 --- a/library/alloc/src/collections/linked_list.rs +++ b/library/alloc/src/collections/linked_list.rs @@ -1774,7 +1774,7 @@ impl<T: Hash> Hash for LinkedList<T> { } } -#[stable(feature = "std_collections_from_array", since = "1.55.0")] +#[stable(feature = "std_collections_from_array", since = "1.56.0")] impl<T, const N: usize> From<[T; N]> for LinkedList<T> { /// ``` /// use std::collections::LinkedList; diff --git a/library/alloc/src/collections/vec_deque/mod.rs b/library/alloc/src/collections/vec_deque/mod.rs index 98514b43e7f..4d2fb6310fe 100644 --- a/library/alloc/src/collections/vec_deque/mod.rs +++ b/library/alloc/src/collections/vec_deque/mod.rs @@ -2864,7 +2864,7 @@ impl<T> From<VecDeque<T>> for Vec<T> { } } -#[stable(feature = "std_collections_from_array", since = "1.55.0")] +#[stable(feature = "std_collections_from_array", since = "1.56.0")] impl<T, const N: usize> From<[T; N]> for VecDeque<T> { /// ``` /// use std::collections::VecDeque; |
