Skip to content

Commit 65936d9

Browse files
Renamed ::core::alloc::co_alloc_metadata_num_slots_with_preference to ::core::alloc::co_alloc_metadata_num_slots_with_preference_specific.
1 parent 2b23f06 commit 65936d9

File tree

17 files changed

+206
-174
lines changed

17 files changed

+206
-174
lines changed

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

+12-12
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub struct Drain<
2121
#[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
2222
const COOP_PREFERRED: bool = { alloc::SHORT_TERM_VEC_PREFERS_COOP },
2323
> where
24-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
24+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
2525
{
2626
// We can't just use a &mut VecDeque<T, A>, as that would make Drain invariant over T
2727
// and we want it to be covariant instead
@@ -39,7 +39,7 @@ pub struct Drain<
3939

4040
impl<'a, T, A: Allocator, const COOP_PREFERRED: bool> Drain<'a, T, A, COOP_PREFERRED>
4141
where
42-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
42+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
4343
{
4444
pub(super) unsafe fn new(
4545
deque: &'a mut VecDeque<T, A, COOP_PREFERRED>,
@@ -97,7 +97,7 @@ where
9797
impl<T: fmt::Debug, A: Allocator, const COOP_PREFERRED: bool> fmt::Debug
9898
for Drain<'_, T, A, COOP_PREFERRED>
9999
where
100-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
100+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
101101
{
102102
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
103103
f.debug_tuple("Drain")
@@ -113,33 +113,33 @@ where
113113
unsafe impl<T: Sync, A: Allocator + Sync, const COOP_PREFERRED: bool> Sync
114114
for Drain<'_, T, A, COOP_PREFERRED>
115115
where
116-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
116+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
117117
{
118118
}
119119
#[stable(feature = "drain", since = "1.6.0")]
120120
unsafe impl<T: Send, A: Allocator + Send, const COOP_PREFERRED: bool> Send
121121
for Drain<'_, T, A, COOP_PREFERRED>
122122
where
123-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
123+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
124124
{
125125
}
126126

127127
#[stable(feature = "drain", since = "1.6.0")]
128128
impl<T, A: Allocator, const COOP_PREFERRED: bool> Drop for Drain<'_, T, A, COOP_PREFERRED>
129129
where
130-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
130+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
131131
{
132132
fn drop(&mut self) {
133133
struct DropGuard<'r, 'a, T, A: Allocator, const COOP_PREFERRED: bool>(
134134
&'r mut Drain<'a, T, A, COOP_PREFERRED>,
135135
)
136136
where
137-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:;
137+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:;
138138

139139
impl<'r, 'a, T, A: Allocator, const COOP_PREFERRED: bool> Drop
140140
for DropGuard<'r, 'a, T, A, COOP_PREFERRED>
141141
where
142-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
142+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
143143
{
144144
fn drop(&mut self) {
145145
if self.0.remaining != 0 {
@@ -223,7 +223,7 @@ where
223223
#[stable(feature = "drain", since = "1.6.0")]
224224
impl<T, A: Allocator, const COOP_PREFERRED: bool> Iterator for Drain<'_, T, A, COOP_PREFERRED>
225225
where
226-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
226+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
227227
{
228228
type Item = T;
229229

@@ -249,7 +249,7 @@ where
249249
impl<T, A: Allocator, const COOP_PREFERRED: bool> DoubleEndedIterator
250250
for Drain<'_, T, A, COOP_PREFERRED>
251251
where
252-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
252+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
253253
{
254254
#[inline]
255255
fn next_back(&mut self) -> Option<T> {
@@ -266,12 +266,12 @@ where
266266
impl<T, A: Allocator, const COOP_PREFERRED: bool> ExactSizeIterator
267267
for Drain<'_, T, A, COOP_PREFERRED>
268268
where
269-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
269+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
270270
{
271271
}
272272

273273
#[stable(feature = "fused", since = "1.26.0")]
274274
impl<T, A: Allocator, const COOP_PREFERRED: bool> FusedIterator for Drain<'_, T, A, COOP_PREFERRED> where
275-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:
275+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:
276276
{
277277
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub struct IntoIter<
1919
#[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
2020
const COOP_PREFERRED: bool = true,
2121
> where
22-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
22+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
2323
{
2424
inner: VecDeque<T, A, COOP_PREFERRED>,
2525
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ macro_rules! __impl_slice_eq1 {
44
impl<T, U, A: Allocator, const COOP_PREFERRED: bool, $($vars)*> PartialEq<$rhs> for $lhs
55
where
66
T: PartialEq<U>,
7-
[(); core::alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
7+
[(); core::alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
88
$($constraints)*
99
{
1010
fn eq(&self, other: &$rhs) -> bool {

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

+29-27
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub struct VecDeque<
9898
#[unstable(feature = "allocator_api", issue = "32838")] A: Allocator = Global,
9999
const COOP_PREFERRED: bool = DEFAULT_COOP_PREFERRED,
100100
> where
101-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
101+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
102102
{
103103
// `self[0]`, if it exists, is `buf[head]`.
104104
// `head < buf.capacity()`, unless `buf.capacity() == 0` when `head == 0`.
@@ -114,7 +114,7 @@ pub struct VecDeque<
114114
impl<T: Clone, A: Allocator + Clone, const COOP_PREFERRED: bool> Clone
115115
for VecDeque<T, A, COOP_PREFERRED>
116116
where
117-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
117+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
118118
{
119119
fn clone(&self) -> Self {
120120
let mut deq = Self::with_capacity_in(self.len(), self.allocator().clone());
@@ -132,7 +132,7 @@ where
132132
unsafe impl<#[may_dangle] T, A: Allocator, const COOP_PREFERRED: bool> Drop
133133
for VecDeque<T, A, COOP_PREFERRED>
134134
where
135-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
135+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
136136
{
137137
fn drop(&mut self) {
138138
/// Runs the destructor for all items in the slice when it gets dropped (normally or
@@ -168,7 +168,7 @@ impl<T, A: Allocator, const COOP_PREFERRED: bool> Default for VecDeque<T, A, COO
168168

169169
impl<T, A: Allocator, const COOP_PREFERRED: bool> VecDeque<T, A, COOP_PREFERRED>
170170
where
171-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
171+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
172172
{
173173
/// Marginally more convenient
174174
#[inline]
@@ -460,15 +460,15 @@ where
460460
) -> usize {
461461
struct Guard<'a, T, A: Allocator, const COOP_PREFERRED: bool>
462462
where
463-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
463+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
464464
{
465465
deque: &'a mut VecDeque<T, A, COOP_PREFERRED>,
466466
written: usize,
467467
}
468468

469469
impl<'a, T, A: Allocator, const COOP_PREFERRED: bool> Drop for Guard<'a, T, A, COOP_PREFERRED>
470470
where
471-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
471+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
472472
{
473473
fn drop(&mut self) {
474474
self.deque.len += self.written;
@@ -549,7 +549,7 @@ where
549549

550550
impl<T, A: Allocator, const COOP_PREFERRED: bool> VecDeque<T, A, COOP_PREFERRED>
551551
where
552-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
552+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
553553
{
554554
/// Creates an empty deque.
555555
///
@@ -588,7 +588,7 @@ where
588588

589589
impl<T, A: Allocator, const COOP_PREFERRED: bool> VecDeque<T, A, COOP_PREFERRED>
590590
where
591-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
591+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
592592
{
593593
/// Creates an empty deque.
594594
///
@@ -2624,7 +2624,7 @@ where
26242624

26252625
impl<T: Clone, A: Allocator, const COOP_PREFERRED: bool> VecDeque<T, A, COOP_PREFERRED>
26262626
where
2627-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2627+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
26282628
{
26292629
/// Modifies the deque in-place so that `len()` is equal to new_len,
26302630
/// either by removing excess elements from the back or by appending clones of `value`
@@ -2673,7 +2673,7 @@ fn wrap_index(logical_index: usize, capacity: usize) -> usize {
26732673
impl<T: PartialEq, A: Allocator, const COOP_PREFERRED: bool> PartialEq
26742674
for VecDeque<T, A, COOP_PREFERRED>
26752675
where
2676-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2676+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
26772677
{
26782678
fn eq(&self, other: &Self) -> bool {
26792679
if self.len != other.len() {
@@ -2714,7 +2714,7 @@ where
27142714

27152715
#[stable(feature = "rust1", since = "1.0.0")]
27162716
impl<T: Eq, A: Allocator, const COOP_PREFERRED: bool> Eq for VecDeque<T, A, COOP_PREFERRED> where
2717-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:
2717+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:
27182718
{
27192719
}
27202720

@@ -2729,7 +2729,7 @@ __impl_slice_eq1! { [const N: usize] VecDeque<T, A, COOP_PREFERRED>, &mut [U; N]
27292729
impl<T: PartialOrd, A: Allocator, const COOP_PREFERRED: bool> PartialOrd
27302730
for VecDeque<T, A, COOP_PREFERRED>
27312731
where
2732-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2732+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
27332733
{
27342734
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
27352735
self.iter().partial_cmp(other.iter())
@@ -2739,7 +2739,7 @@ where
27392739
#[stable(feature = "rust1", since = "1.0.0")]
27402740
impl<T: Ord, A: Allocator, const COOP_PREFERRED: bool> Ord for VecDeque<T, A, COOP_PREFERRED>
27412741
where
2742-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2742+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
27432743
{
27442744
#[inline]
27452745
fn cmp(&self, other: &Self) -> Ordering {
@@ -2750,7 +2750,7 @@ where
27502750
#[stable(feature = "rust1", since = "1.0.0")]
27512751
impl<T: Hash, A: Allocator, const COOP_PREFERRED: bool> Hash for VecDeque<T, A, COOP_PREFERRED>
27522752
where
2753-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2753+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
27542754
{
27552755
fn hash<H: Hasher>(&self, state: &mut H) {
27562756
state.write_length_prefix(self.len);
@@ -2767,7 +2767,7 @@ where
27672767
#[stable(feature = "rust1", since = "1.0.0")]
27682768
impl<T, A: Allocator, const COOP_PREFERRED: bool> Index<usize> for VecDeque<T, A, COOP_PREFERRED>
27692769
where
2770-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2770+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
27712771
{
27722772
type Output = T;
27732773

@@ -2780,7 +2780,7 @@ where
27802780
#[stable(feature = "rust1", since = "1.0.0")]
27812781
impl<T, A: Allocator, const COOP_PREFERRED: bool> IndexMut<usize> for VecDeque<T, A, COOP_PREFERRED>
27822782
where
2783-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2783+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
27842784
{
27852785
#[inline]
27862786
fn index_mut(&mut self, index: usize) -> &mut T {
@@ -2791,7 +2791,7 @@ where
27912791
#[stable(feature = "rust1", since = "1.0.0")]
27922792
impl<T, A: Allocator, const COOP_PREFERRED: bool> FromIterator<T> for VecDeque<T, A, COOP_PREFERRED>
27932793
where
2794-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2794+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
27952795
{
27962796
fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> VecDeque<T, Global, COOP_PREFERRED> {
27972797
SpecFromIter::spec_from_iter(iter.into_iter())
@@ -2801,7 +2801,7 @@ where
28012801
#[stable(feature = "rust1", since = "1.0.0")]
28022802
impl<T, A: Allocator, const COOP_PREFERRED: bool> IntoIterator for VecDeque<T, A, COOP_PREFERRED>
28032803
where
2804-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2804+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
28052805
{
28062806
type Item = T;
28072807
type IntoIter = IntoIter<T, A>;
@@ -2817,7 +2817,7 @@ where
28172817
impl<'a, T, A: Allocator, const COOP_PREFERRED: bool> IntoIterator
28182818
for &'a VecDeque<T, A, COOP_PREFERRED>
28192819
where
2820-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2820+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
28212821
{
28222822
type Item = &'a T;
28232823
type IntoIter = Iter<'a, T>;
@@ -2831,7 +2831,7 @@ where
28312831
impl<'a, T, A: Allocator, const COOP_PREFERRED: bool> IntoIterator
28322832
for &'a mut VecDeque<T, A, COOP_PREFERRED>
28332833
where
2834-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2834+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
28352835
{
28362836
type Item = &'a mut T;
28372837
type IntoIter = IterMut<'a, T>;
@@ -2844,7 +2844,7 @@ where
28442844
#[stable(feature = "rust1", since = "1.0.0")]
28452845
impl<T, A: Allocator, const COOP_PREFERRED: bool> Extend<T> for VecDeque<T, A, COOP_PREFERRED>
28462846
where
2847-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2847+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
28482848
{
28492849
fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I) {
28502850
<Self as SpecExtend<T, I::IntoIter>>::spec_extend(self, iter.into_iter());
@@ -2865,7 +2865,7 @@ where
28652865
impl<'a, T: 'a + Copy, A: Allocator, const COOP_PREFERRED: bool> Extend<&'a T>
28662866
for VecDeque<T, A, COOP_PREFERRED>
28672867
where
2868-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2868+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
28692869
{
28702870
fn extend<I: IntoIterator<Item = &'a T>>(&mut self, iter: I) {
28712871
self.spec_extend(iter.into_iter());
@@ -2886,7 +2886,7 @@ where
28862886
impl<T: fmt::Debug, A: Allocator, const COOP_PREFERRED: bool> fmt::Debug
28872887
for VecDeque<T, A, COOP_PREFERRED>
28882888
where
2889-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2889+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
28902890
{
28912891
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
28922892
f.debug_list().entries(self.iter()).finish()
@@ -2897,7 +2897,7 @@ where
28972897
impl<T, A: Allocator, const COOP_PREFERRED: bool> From<Vec<T, A, COOP_PREFERRED>>
28982898
for VecDeque<T, A, COOP_PREFERRED>
28992899
where
2900-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2900+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
29012901
{
29022902
/// Turn a [`Vec<T>`] into a [`VecDeque<T>`].
29032903
///
@@ -2910,7 +2910,9 @@ where
29102910
#[inline]
29112911
fn from<const OTHER_COOP_PREFERRED: bool>(other: Vec<T, A, OTHER_COOP_PREFERRED>) -> Self
29122912
where
2913-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(OTHER_COOP_PREFERRED)]:,
2913+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(
2914+
OTHER_COOP_PREFERRED,
2915+
)]:,
29142916
{
29152917
let (ptr, len, cap, alloc) = other.into_raw_parts_with_alloc();
29162918
Self { head: 0, len, buf: unsafe { RawVec::from_raw_parts_in(ptr, cap, alloc) } }
@@ -2921,7 +2923,7 @@ where
29212923
impl<T, A: Allocator, const COOP_PREFERRED: bool> From<VecDeque<T, A, COOP_PREFERRED>>
29222924
for Vec<T, A, COOP_PREFERRED>
29232925
where
2924-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2926+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
29252927
{
29262928
/// Turn a [`VecDeque<T>`] into a [`Vec<T>`].
29272929
///
@@ -2977,7 +2979,7 @@ where
29772979
impl<T, const N: usize, A: Allocator, const COOP_PREFERRED: bool> From<[T; N]>
29782980
for VecDeque<T, A, COOP_PREFERRED>
29792981
where
2980-
[(); alloc::co_alloc_metadata_num_slots_with_preference::<A>(COOP_PREFERRED)]:,
2982+
[(); alloc::co_alloc_metadata_num_slots_with_preference_specific::<A>(COOP_PREFERRED)]:,
29812983
{
29822984
/// Converts a `[T; N]` into a `VecDeque<T>`.
29832985
///

0 commit comments

Comments
 (0)