]> git.lizzy.rs Git - rust.git/commitdiff
Remove unecessary link
authorAlexis Bourget <alexis.bourget@gmail.com>
Thu, 23 Jul 2020 20:35:22 +0000 (22:35 +0200)
committerAlexis Bourget <alexis.bourget@gmail.com>
Thu, 23 Jul 2020 20:35:22 +0000 (22:35 +0200)
src/liballoc/vec.rs

index 269eeed3ccf8608ec0c2f9acb3656efead38c143..30ff28f3fdb140614bd482cc46f2b92032f39d2f 100644 (file)
@@ -1298,8 +1298,6 @@ unsafe fn append_elements(&mut self, other: *const [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