Skip to content

Commit 5a307cf

Browse files
camelidJoshua Nelson
and
Joshua Nelson
authored
Fix intra-doc links
One of the original links was linking to the wrong thing as well. Co-authored-by: Joshua Nelson <[email protected]>
1 parent 22c02bf commit 5a307cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/result.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
//! [`Write`]: ../../std/io/trait.Write.html
221221
//! [`write_all`]: ../../std/io/trait.Write.html#method.write_all
222222
//! [`io::Result`]: ../../std/io/type.Result.html
223-
//! [`?`]: ../../std/macro.try.html
223+
//! [`?`]: crate::ops::Try
224224
//! [`Ok(T)`]: Ok
225225
//! [`Err(E)`]: Err
226226
//! [`io::Error`]: ../../std/io/struct.Error.html
@@ -1058,7 +1058,7 @@ impl<T: Default, E> Result<T, E> {
10581058
/// ```
10591059
///
10601060
/// [`parse`]: str::parse
1061-
/// [`FromStr`]: ../../std/str/trait.FromStr.html
1061+
/// [`FromStr`]: crate::str::FromStr
10621062
#[inline]
10631063
#[stable(feature = "result_unwrap_or_default", since = "1.16.0")]
10641064
pub fn unwrap_or_default(self) -> T {

0 commit comments

Comments
 (0)