Add missing links in FromStr docs
This commit is contained in:
parent
7f6417e9b7
commit
7e8fe9a63f
1 changed files with 5 additions and 2 deletions
|
@ -76,9 +76,12 @@ pub trait FromStr: Sized {
|
|||
|
||||
/// Parses a string `s` to return a value of this type.
|
||||
///
|
||||
/// If parsing succeeds, return the value inside `Ok`, otherwise
|
||||
/// If parsing succeeds, return the value inside [`Ok`], otherwise
|
||||
/// when the string is ill-formatted return an error specific to the
|
||||
/// inside `Err`. The error type is specific to implementation of the trait.
|
||||
/// inside [`Err`]. The error type is specific to implementation of the trait.
|
||||
///
|
||||
/// [`Ok`]: ../../std/result/enum.Result.html#variant.Ok
|
||||
/// [`Err`]: ../../std/result/enum.Result.html#variant.Err
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue