@@ -607,7 +607,8 @@ impl<T, const CO_ALLOC_PREF: CoAllocPref> VecDeque<T, Global, CO_ALLOC_PREF>
607607where
608608 [ ( ) ; { crate :: meta_num_slots_global!( CO_ALLOC_PREF ) } ] : ,
609609{
610- /// Coallocation-aware version of `new`.
610+ // @FIXME intra-doc ref.
611+ /// Coallocation-aware version of [VecDeque<T,>::new()].
611612 #[ inline]
612613 #[ unstable( feature = "co_alloc_global" , issue = "none" ) ]
613614 #[ must_use]
@@ -617,7 +618,8 @@ where
617618 VecDeque { head : 0 , len : 0 , buf : RawVec :: NEW }
618619 }
619620
620- /// Coallocation-aware version of `with_capacity`.
621+ // @FIXME intra-doc ref.
622+ /// Coallocation-aware version of [VecDeque<T,>::with_capacity()].
621623 #[ inline]
622624 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
623625 #[ must_use]
@@ -2872,12 +2874,7 @@ impl<T, const CO_ALLOC_PREF: CoAllocPref> VecDeque<T, Global, CO_ALLOC_PREF>
28722874where
28732875 [ ( ) ; { crate :: meta_num_slots_global!( CO_ALLOC_PREF ) } ] : ,
28742876{
2875- /// Like `<VecDeque::<T>>::from_iter()`, but coallocation-aware.
2876- /// Like [`VecDeque::<T>::from_iter()`], but coallocation-aware.
2877- /// Like [`<VecDeque::<T>>::from_iter(I)`], but coallocation-aware.
2878- /// Like [`VecDeque::<T>::from_iter(I)`], but coallocation-aware.
2879- /// Like [`<VecDeque::<T>>::from_iter(I: IntoIterator<Item = T>)`], but coallocation-aware.
2880- /// Like [`VecDeque::<T>::from_iter(I: IntoIterator<Item = T>)`], but coallocation-aware.
2877+ /// Coallocation-aware version of [VecDeque<T,>::from_iter()].
28812878 pub fn from_iter_co < I : IntoIterator < Item = T > > ( iter : I ) -> VecDeque < T , Global , CO_ALLOC_PREF > {
28822879 SpecFromIterCo :: spec_from_iter_co ( iter. into_iter ( ) )
28832880 }
0 commit comments