about summary refs log tree commit diff
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-08-30 09:17:22 +0800
committerGitHub <noreply@github.com>2020-08-30 09:17:22 +0800
commit20a68666d89a85e14021f656233a086e46ff8a34 (patch)
tree8e07decfadf3b4b959ce79e111c1e6b5ee44c046
parentbb5e79cbd11dbb8aa91840108b67085e5d5d04f8 (diff)
downloadrust-20a68666d89a85e14021f656233a086e46ff8a34.tar.gz
rust-20a68666d89a85e14021f656233a086e46ff8a34.zip
Try removing [prim@reference]
-rw-r--r--library/alloc/src/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs
index 5e6493c27ae..35d64d85010 100644
--- a/library/alloc/src/vec.rs
+++ b/library/alloc/src/vec.rs
@@ -159,7 +159,7 @@ use crate::raw_vec::RawVec;
 /// # Slicing
 ///
 /// A `Vec` can be mutable. Slices, on the other hand, are read-only objects.
-/// To get a slice, use [`&`][prim@reference]. Example:
+/// To get a slice, use [`&`]. Example:
 ///
 /// ```
 /// fn read_slice(slice: &[usize]) {