1
Fork 0

Auto merge of #77832 - camelid:remove-manual-link-resolves, r=jyn514

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

cc `@jyn514`
This commit is contained in:
bors 2021-01-02 01:31:03 +00:00
commit 0876f59b97
13 changed files with 0 additions and 37 deletions

View file

@ -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

View file

@ -451,8 +451,6 @@ impl str {
/// Converts a [`Box<str>`] into a [`String`] without copying or allocating.
///
/// [`Box<str>`]: Box
///
/// # Examples
///
/// Basic usage: