about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamelid <37223377+camelid@users.noreply.github.com>2020-08-20 12:39:12 -0700
committerGitHub <noreply@github.com>2020-08-20 12:39:12 -0700
commit5a307cf4bbf3cb6065b43472ab99c1dd4fdc72e5 (patch)
tree3527f0649d4348ade6ed67515709257a6796ec15
parent22c02bfdb1f5c0bd6c6500295767c0a156596465 (diff)
downloadrust-5a307cf4bbf3cb6065b43472ab99c1dd4fdc72e5.tar.gz
rust-5a307cf4bbf3cb6065b43472ab99c1dd4fdc72e5.zip
Fix intra-doc links
One of the original links was linking to the wrong thing as well.

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
-rw-r--r--library/core/src/result.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs
index 07d3604a05b..ade5472717d 100644
--- a/library/core/src/result.rs
+++ b/library/core/src/result.rs
@@ -220,7 +220,7 @@
 //! [`Write`]: ../../std/io/trait.Write.html
 //! [`write_all`]: ../../std/io/trait.Write.html#method.write_all
 //! [`io::Result`]: ../../std/io/type.Result.html
-//! [`?`]: ../../std/macro.try.html
+//! [`?`]: crate::ops::Try
 //! [`Ok(T)`]: Ok
 //! [`Err(E)`]: Err
 //! [`io::Error`]: ../../std/io/struct.Error.html
@@ -1058,7 +1058,7 @@ impl<T: Default, E> Result<T, E> {
     /// ```
     ///
     /// [`parse`]: str::parse
-    /// [`FromStr`]: ../../std/str/trait.FromStr.html
+    /// [`FromStr`]: crate::str::FromStr
     #[inline]
     #[stable(feature = "result_unwrap_or_default", since = "1.16.0")]
     pub fn unwrap_or_default(self) -> T {