Update std_collections_from_array stability version

This commit is contained in:
bstrie 2021-07-24 14:04:51 -04:00
parent 2db05230d3
commit 1b83fedda4
7 changed files with 7 additions and 7 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

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

View File

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