]> git.lizzy.rs Git - rust.git/commitdiff
Fix intra-doc links
authorCamelid <37223377+camelid@users.noreply.github.com>
Thu, 20 Aug 2020 19:39:12 +0000 (12:39 -0700)
committerGitHub <noreply@github.com>
Thu, 20 Aug 2020 19:39:12 +0000 (12:39 -0700)
One of the original links was linking to the wrong thing as well.

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
library/core/src/result.rs

index 07d3604a05be879937a7716be1c0a9929b1a5482..ade5472717dde4d9c9228321bacc8cdebba8d549 100644 (file)
 //! [`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 {