about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlexis Bourget <alexis.bourget@gmail.com>2020-07-23 22:35:22 +0200
committerAlexis Bourget <alexis.bourget@gmail.com>2020-07-23 22:35:22 +0200
commit771ec216bc87932e341cf1f4d887988228d429b5 (patch)
tree59e173ddb00d6678bc04aee5db7478d364a024a5 /src/liballoc
parente601e2ac48a217fafb5962a43680d60c574d35ef (diff)
downloadrust-771ec216bc87932e341cf1f4d887988228d429b5.tar.gz
rust-771ec216bc87932e341cf1f4d887988228d429b5.zip
Remove unecessary link
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/vec.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/liballoc/vec.rs b/src/liballoc/vec.rs
index 269eeed3ccf..30ff28f3fdb 100644
--- a/src/liballoc/vec.rs
+++ b/src/liballoc/vec.rs
@@ -1298,8 +1298,6 @@ impl<T> Vec<T> {
     /// v.drain(..);
     /// assert_eq!(v, &[]);
     /// ```
-    ///
-    /// [`mem::forget`]: mem::forget
     #[stable(feature = "drain", since = "1.6.0")]
     pub fn drain<R>(&mut self, range: R) -> Drain<'_, T>
     where