diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2019-06-07 21:37:52 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2019-06-08 22:39:33 -0700 |
| commit | 5168f5d220d0b30d322f254f51142931a9054056 (patch) | |
| tree | dd8100e18ec00ff06134bfc932916f82f44f8d9e | |
| parent | 8da94ef84921213aa42d9da8b48251503e5ad7be (diff) | |
| download | rust-5168f5d220d0b30d322f254f51142931a9054056.tar.gz rust-5168f5d220d0b30d322f254f51142931a9054056.zip | |
Add hyperlinks to Vec and VecDeque
Let's try the auto-linking instead, since the relative ones don't work.
| -rw-r--r-- | src/liballoc/collections/vec_deque.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/collections/vec_deque.rs b/src/liballoc/collections/vec_deque.rs index 329c1437f29..f01b3155525 100644 --- a/src/liballoc/collections/vec_deque.rs +++ b/src/liballoc/collections/vec_deque.rs @@ -2709,7 +2709,7 @@ impl<T: fmt::Debug> fmt::Debug for VecDeque<T> { #[stable(feature = "vecdeque_vec_conversions", since = "1.10.0")] impl<T> From<Vec<T>> for VecDeque<T> { - /// Turn a `Vec<T>` into a `VecDeque<T>`. + /// Turn a [`Vec<T>`] into a [`VecDeque<T>`]. /// /// This avoids reallocating where possible, but the conditions for that are /// 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> { #[stable(feature = "vecdeque_vec_conversions", since = "1.10.0")] impl<T> From<VecDeque<T>> for Vec<T> { - /// Turn a `VecDeque<T>` into a `Vec<T>`. + /// Turn a [`VecDeque<T>`] into a [`Vec<T>`]. /// /// This never needs to re-allocate, but does need to do O(n) data movement if /// the circular buffer doesn't happen to be at the beginning of the allocation. |
