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>
This commit is contained in:
Camelid 2020-08-20 12:39:12 -07:00 committed by GitHub
parent 22c02bfdb1
commit 5a307cf4bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {