diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index 61e1245f0735c..f9df384444176 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -1609,7 +1609,7 @@ impl Vec { /// assert_eq!(vec, [1, 2, 3, 4]); /// ``` /// - /// [`extend`]: #method.extend + /// [`extend`]: Vec::extend #[stable(feature = "vec_extend_from_slice", since = "1.6.0")] pub fn extend_from_slice(&mut self, other: &[T]) { self.spec_extend(other.iter())