diff --git a/library/alloc/src/vec/into_iter.rs b/library/alloc/src/vec/into_iter.rs index 99ecec648ad..f131d06bb18 100644 --- a/library/alloc/src/vec/into_iter.rs +++ b/library/alloc/src/vec/into_iter.rs @@ -10,8 +10,8 @@ use core::slice::{self}; /// An iterator that moves out of a vector. /// -/// This `struct` is created by the `into_iter` method on [`super::Vec`] (provided -/// by the [`IntoIterator`] trait). +/// This `struct` is created by the `into_iter` method on [`Vec`](super::Vec) +/// (provided by the [`IntoIterator`] trait). /// /// # Example ///