diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-10-11 13:36:41 -0700 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-12-31 11:54:32 -0800 |
| commit | 0506789014f9aef9ffac7d7d1e22fa72c7b85ab7 (patch) | |
| tree | 02c66b3ee2f512a827db02de52d81abfc55f3c72 /library/std/src | |
| parent | 44e3daf5eee8263dfc3a2509e78ddd1f6f783a0e (diff) | |
| download | rust-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/std/src')
| -rw-r--r-- | library/std/src/error.rs | 2 | ||||
| -rw-r--r-- | library/std/src/io/mod.rs | 2 | ||||
| -rw-r--r-- | library/std/src/path.rs | 1 | ||||
| -rw-r--r-- | library/std/src/primitive_docs.rs | 3 |
4 files changed, 0 insertions, 8 deletions
diff --git a/library/std/src/error.rs b/library/std/src/error.rs index 0044e59d697..ca83c409822 100644 --- a/library/std/src/error.rs +++ b/library/std/src/error.rs @@ -42,8 +42,6 @@ use crate::string; /// via [`Error::source()`]. This makes it possible for the high-level /// module to provide its own errors while also revealing some of the /// implementation for debugging via `source` chains. -/// -/// [`Result<T, E>`]: Result #[stable(feature = "rust1", since = "1.0.0")] pub trait Error: Debug + Display { /// The lower-level source of this error, if any. diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs index dfbf6c3f244..7ad9e446c59 100644 --- a/library/std/src/io/mod.rs +++ b/library/std/src/io/mod.rs @@ -240,7 +240,6 @@ //! //! [`File`]: crate::fs::File //! [`TcpStream`]: crate::net::TcpStream -//! [`Vec<T>`]: Vec //! [`io::stdout`]: stdout //! [`io::Result`]: self::Result //! [`?` operator]: ../../book/appendix-02-operators.html @@ -1984,7 +1983,6 @@ pub trait BufRead: Read { /// also yielded an error. /// /// [`io::Result`]: self::Result - /// [`Vec<u8>`]: Vec /// [`read_until`]: BufRead::read_until /// /// # Examples diff --git a/library/std/src/path.rs b/library/std/src/path.rs index 8a75c1d6058..243761e3897 100644 --- a/library/std/src/path.rs +++ b/library/std/src/path.rs @@ -1775,7 +1775,6 @@ impl Path { /// Any non-Unicode sequences are replaced with /// [`U+FFFD REPLACEMENT CHARACTER`][U+FFFD]. /// - /// [`Cow<str>`]: Cow /// [U+FFFD]: super::char::REPLACEMENT_CHARACTER /// /// # Examples diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index ec12e9f09d8..0677a5f6715 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/src/primitive_docs.rs @@ -184,9 +184,6 @@ mod prim_bool {} /// because `!` coerces to `Result<!, ConnectionError>` automatically. /// /// [`String::from_str`]: str::FromStr::from_str -/// [`Result<String, !>`]: Result -/// [`Result<T, !>`]: Result -/// [`Result<!, E>`]: Result /// [`String`]: string::String /// [`FromStr`]: str::FromStr /// |
