about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-10-11 13:36:41 -0700
committerCamelid <camelidcamel@gmail.com>2020-12-31 11:54:32 -0800
commit0506789014f9aef9ffac7d7d1e22fa72c7b85ab7 (patch)
tree02c66b3ee2f512a827db02de52d81abfc55f3c72 /library/alloc/src
parent44e3daf5eee8263dfc3a2509e78ddd1f6f783a0e (diff)
downloadrust-0506789014f9aef9ffac7d7d1e22fa72c7b85ab7.tar.gz
rust-0506789014f9aef9ffac7d7d1e22fa72c7b85ab7.zip
Remove many unnecessary manual link resolves from library
Now that #76934 has merged, we can remove a lot of these! E.g, this is
no longer necessary:

    [`Vec<T>`]: Vec
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/boxed.rs2
-rw-r--r--library/alloc/src/str.rs2
2 files changed, 0 insertions, 4 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs
index a6360f25eca..fd4eab16750 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -126,9 +126,7 @@
 //!
 //! [ucg#198]: https://github.com/rust-lang/unsafe-code-guidelines/issues/198
 //! [dereferencing]: core::ops::Deref
-//! [`Box<T>`]: Box
 //! [`Box::<T>::from_raw(value)`]: Box::from_raw
-//! [`Box::<T>::into_raw`]: Box::into_raw
 //! [`Global`]: crate::alloc::Global
 //! [`Layout`]: crate::alloc::Layout
 //! [`Layout::for_value(&*value)`]: crate::alloc::Layout::for_value
diff --git a/library/alloc/src/str.rs b/library/alloc/src/str.rs
index 578eca7d893..70e0c7dba5e 100644
--- a/library/alloc/src/str.rs
+++ b/library/alloc/src/str.rs
@@ -451,8 +451,6 @@ impl str {
 
     /// Converts a [`Box<str>`] into a [`String`] without copying or allocating.
     ///
-    /// [`Box<str>`]: Box
-    ///
     /// # Examples
     ///
     /// Basic usage: