Skip to content

Commit 5168f5d

Browse files
committed
Add hyperlinks to Vec and VecDeque
Let's try the auto-linking instead, since the relative ones don't work.
1 parent 8da94ef commit 5168f5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/liballoc/collections/vec_deque.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2709,7 +2709,7 @@ impl<T: fmt::Debug> fmt::Debug for VecDeque<T> {
27092709

27102710
#[stable(feature = "vecdeque_vec_conversions", since = "1.10.0")]
27112711
impl<T> From<Vec<T>> for VecDeque<T> {
2712-
/// Turn a `Vec<T>` into a `VecDeque<T>`.
2712+
/// Turn a [`Vec<T>`] into a [`VecDeque<T>`].
27132713
///
27142714
/// This avoids reallocating where possible, but the conditions for that are
27152715
/// strict, and subject to change, and so shouldn't be relied upon unless the
@@ -2762,7 +2762,7 @@ impl<T> From<Vec<T>> for VecDeque<T> {
27622762

27632763
#[stable(feature = "vecdeque_vec_conversions", since = "1.10.0")]
27642764
impl<T> From<VecDeque<T>> for Vec<T> {
2765-
/// Turn a `VecDeque<T>` into a `Vec<T>`.
2765+
/// Turn a [`VecDeque<T>`] into a [`Vec<T>`].
27662766
///
27672767
/// This never needs to re-allocate, but does need to do O(n) data movement if
27682768
/// the circular buffer doesn't happen to be at the beginning of the allocation.

0 commit comments

Comments
 (0)