Update std_collections_from_array stability version
This commit is contained in:
parent
2db05230d3
commit
1b83fedda4
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user