Skip to content

Commit 2258ed7

Browse files
CoAlloc: intra-docs links in rustdocs..
1 parent 2fd2198 commit 2258ed7

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2872,12 +2872,12 @@ impl<T, const CO_ALLOC_PREF: CoAllocPref> VecDeque<T, Global, CO_ALLOC_PREF>
28722872
where
28732873
[(); { crate::meta_num_slots_global!(CO_ALLOC_PREF) }]:,
28742874
{
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.
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.
28812881
pub fn from_iter_co<I: IntoIterator<Item = T>>(iter: I) -> VecDeque<T, Global, CO_ALLOC_PREF> {
28822882
SpecFromIterCo::spec_from_iter_co(iter.into_iter())
28832883
}

library/alloc/src/slice.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,12 @@ impl<T> [T] {
644644
hack::into_vec(self)
645645
}
646646

647-
/// Coallocation-aware version of [into_vec::<A>()].
647+
/// Coallocation-aware version of [`into_vec<A>()`].
648+
/// Coallocation-aware version of [`into_vec::<A>()`].
649+
/// Coallocation-aware version of [`into_vec<A>(self)`].
650+
/// Coallocation-aware version of [`into_vec::<A>(self)`].
651+
/// Coallocation-aware version of [`into_vec<A>(Box<Self, A>)`].
652+
/// Coallocation-aware version of [`into_vec::<A>(Box<Self, A>)`].
648653
#[rustc_allow_incoherent_impl]
649654
#[unstable(feature = "global_co_alloc", issue = "none")]
650655
#[inline]

0 commit comments

Comments
 (0)