@@ -607,7 +607,8 @@ impl<T, const CO_ALLOC_PREF: CoAllocPref> VecDeque<T, Global, CO_ALLOC_PREF>
607
607
where
608
608
[ ( ) ; { crate :: meta_num_slots_global!( CO_ALLOC_PREF ) } ] : ,
609
609
{
610
- /// Coallocation-aware version of `new`.
610
+ // @FIXME intra-doc ref.
611
+ /// Coallocation-aware version of [VecDeque<T,>::new()].
611
612
#[ inline]
612
613
#[ unstable( feature = "co_alloc_global" , issue = "none" ) ]
613
614
#[ must_use]
@@ -617,7 +618,8 @@ where
617
618
VecDeque { head : 0 , len : 0 , buf : RawVec :: NEW }
618
619
}
619
620
620
- /// Coallocation-aware version of `with_capacity`.
621
+ // @FIXME intra-doc ref.
622
+ /// Coallocation-aware version of [VecDeque<T,>::with_capacity()].
621
623
#[ inline]
622
624
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
623
625
#[ must_use]
@@ -2872,12 +2874,7 @@ impl<T, const CO_ALLOC_PREF: CoAllocPref> VecDeque<T, Global, CO_ALLOC_PREF>
2872
2874
where
2873
2875
[ ( ) ; { crate :: meta_num_slots_global!( CO_ALLOC_PREF ) } ] : ,
2874
2876
{
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()].
2881
2878
pub fn from_iter_co < I : IntoIterator < Item = T > > ( iter : I ) -> VecDeque < T , Global , CO_ALLOC_PREF > {
2882
2879
SpecFromIterCo :: spec_from_iter_co ( iter. into_iter ( ) )
2883
2880
}
0 commit comments