We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45331c0 + 7e8fe9a commit 0e19c4fCopy full SHA for 0e19c4f
src/libcore/str/mod.rs
@@ -76,9 +76,12 @@ pub trait FromStr: Sized {
76
77
/// Parses a string `s` to return a value of this type.
78
///
79
- /// If parsing succeeds, return the value inside `Ok`, otherwise
+ /// If parsing succeeds, return the value inside [`Ok`], otherwise
80
/// when the string is ill-formatted return an error specific to the
81
- /// inside `Err`. The error type is specific to implementation of the trait.
+ /// inside [`Err`]. The error type is specific to implementation of the trait.
82
+ ///
83
+ /// [`Ok`]: ../../std/result/enum.Result.html#variant.Ok
84
+ /// [`Err`]: ../../std/result/enum.Result.html#variant.Err
85
86
/// # Examples
87
0 commit comments