diff options
| author | bors <bors@rust-lang.org> | 2021-01-02 01:31:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-02 01:31:03 +0000 |
| commit | 0876f59b975a67ce79b0d83750f0d153f119b790 (patch) | |
| tree | f2810d2dfb872feaf03f9312082dc4c9724954bf /library/alloc | |
| parent | 417fe4706595db10380fe989e77db431293f3155 (diff) | |
| parent | 0506789014f9aef9ffac7d7d1e22fa72c7b85ab7 (diff) | |
| download | rust-0876f59b975a67ce79b0d83750f0d153f119b790.tar.gz rust-0876f59b975a67ce79b0d83750f0d153f119b790.zip | |
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`
Diffstat (limited to 'library/alloc')
| -rw-r--r-- | library/alloc/src/boxed.rs | 2 | ||||
| -rw-r--r-- | library/alloc/src/str.rs | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs index 8eb2caa60b1..33b812ec59f 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: |
