about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamelid <37223377+camelid@users.noreply.github.com>2020-08-19 18:17:55 -0700
committerGitHub <noreply@github.com>2020-08-19 18:17:55 -0700
commit22c02bfdb1f5c0bd6c6500295767c0a156596465 (patch)
tree6ad73833b40076dbf9dd68b572e980ca7de84de8
parente0430a8aa20b7ea3743e9c6fa5cf1afa3ddee6f7 (diff)
downloadrust-22c02bfdb1f5c0bd6c6500295767c0a156596465.tar.gz
rust-22c02bfdb1f5c0bd6c6500295767c0a156596465.zip
Revert to old link since intra-doc link is broken
Can't link from `core` to `std` yet.
-rw-r--r--library/core/src/result.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/result.rs b/library/core/src/result.rs
index 95da7ff1df9..07d3604a05b 100644
--- a/library/core/src/result.rs
+++ b/library/core/src/result.rs
@@ -1058,7 +1058,7 @@ impl<T: Default, E> Result<T, E> {
     /// ```
     ///
     /// [`parse`]: str::parse
-    /// [`FromStr`]: FromStr
+    /// [`FromStr`]: ../../std/str/trait.FromStr.html
     #[inline]
     #[stable(feature = "result_unwrap_or_default", since = "1.16.0")]
     pub fn unwrap_or_default(self) -> T {