@@ -150,8 +150,8 @@ use self::spec_extend::SpecExtend;
150150mod spec_extend;
151151
152152/// Default `Vec`, `DefVec`, `DecVeque`, `DefDecVeq` "cooperation" (`COOP_PREFERRED`) generic parameter.
153- /// NOT for public use. It's exported only so that library/proc_macro (and other internals) can use this. TODO FIXME.
154- #[ unstable( feature = "global_co_alloc_def " , issue = "none" ) ]
153+ /// NOT for public use. It's exported only so that library/proc_macro (and other internals) can use this. FIXME.
154+ #[ unstable( feature = "global_co_alloc_default " , issue = "none" ) ]
155155// pub const DEFAULT_COOP_PREFERRED: bool = true;
156156#[ macro_export]
157157macro_rules! DEFAULT_COOP_PREFERRED {
@@ -445,10 +445,10 @@ pub type DefVec<T, A = Global> = Vec<T, A, { DEFAULT_COOP_PREFERRED!() }>;
445445pub type WeVec < T , const WEIGHT : u8 > = Vec < T , Global , { WEIGHT > 127 } > ;
446446
447447impl < T > Vec < T > {
448- /*impl<T, const COOP_PREFERRED: bool> Vec<T, Global, COOP_PREFERRED>
449- where
450- [(); core::alloc::co_alloc_metadata_num_slots_with_preference::<Global>(COOP_PREFERRED)]:,
451- {*/
448+ /*impl<T, const COOP_PREFERRED: bool> Vec<T, Global, COOP_PREFERRED>
449+ where
450+ [(); core::alloc::co_alloc_metadata_num_slots_with_preference::<Global>(COOP_PREFERRED)]:,
451+ {*/
452452 /// Constructs a new, empty `Vec<T>`.
453453 ///
454454 /// The vector will not allocate until elements are pushed onto it.
@@ -525,7 +525,6 @@ where
525525 pub fn with_capacity ( capacity : usize ) -> Self {
526526 Self :: with_capacity_in ( capacity, Global )
527527 }
528-
529528}
530529
531530////////////////////////////////////////////////////////////////////////////////
@@ -546,7 +545,7 @@ where
546545 Vec { buf : RawVec :: NEW , len : 0 }
547546 }
548547
549- // TODO @FIXME document co-allocation
548+ // @FIXME document co-allocation
550549 /// Constructs a new, empty `Vec<T>` with at least the specified capacity.
551550 ///
552551 /// The vector will be able to hold at least `capacity` elements without
0 commit comments