From 0506789014f9aef9ffac7d7d1e22fa72c7b85ab7 Mon Sep 17 00:00:00 2001 From: Camelid Date: Sun, 11 Oct 2020 13:36:41 -0700 Subject: 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`]: Vec --- library/alloc/src/boxed.rs | 2 -- library/alloc/src/str.rs | 2 -- 2 files changed, 4 deletions(-) (limited to 'library/alloc/src') 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`]: Box //! [`Box::::from_raw(value)`]: Box::from_raw -//! [`Box::::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`] into a [`String`] without copying or allocating. /// - /// [`Box`]: Box - /// /// # Examples /// /// Basic usage: -- cgit 1.4.1-3-g733a5