Skip to content

Commit

Permalink
Link ParseBoolError to from_str method of bool
Browse files Browse the repository at this point in the history
  • Loading branch information
donniebishop authored Mar 25, 2017
1 parent 49c67bd commit 779d2f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libcore/str/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ impl FromStr for bool {
}
}

/// An error returned when parsing a `bool` from a string fails.
/// An error returned when parsing a `bool` using [`from_str`] fails
///
/// [`from_str`]: ../../std/primitive.bool.html#method.from_str
#[derive(Debug, Clone, PartialEq, Eq)]
#[stable(feature = "rust1", since = "1.0.0")]
pub struct ParseBoolError { _priv: () }
Expand Down

0 comments on commit 779d2f3

Please # to comment.