about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-09-03 23:02:27 +0800
committerGitHub <noreply@github.com>2020-09-03 23:02:27 +0800
commit4df64905ea74f9732cb1448c14f72b17d3f32abc (patch)
tree0e4f4d59696d4c2746e14eda512f6968b187e604
parent20a68666d89a85e14021f656233a086e46ff8a34 (diff)
downloadrust-4df64905ea74f9732cb1448c14f72b17d3f32abc.tar.gz
rust-4df64905ea74f9732cb1448c14f72b17d3f32abc.zip
Link & primitive using relative link
-rw-r--r--library/alloc/src/vec.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs
index 35d64d85010..43a0b048b47 100644
--- a/library/alloc/src/vec.rs
+++ b/library/alloc/src/vec.rs
@@ -287,6 +287,7 @@ use crate::raw_vec::RawVec;
 /// [`insert`]: Vec::insert
 /// [`reserve`]: Vec::reserve
 /// [owned slice]: Box
+/// [`&`]: ../../std/primitive.reference.html
 #[stable(feature = "rust1", since = "1.0.0")]
 #[cfg_attr(not(test), rustc_diagnostic_item = "vec_type")]
 pub struct Vec<T> {