Add missing documentation for bool::from_str
This commit is contained in:
parent
8fd6d03e22
commit
b4fdc5861d
1 changed files with 2 additions and 2 deletions
|
@ -573,8 +573,8 @@ impl FromStr for bool {
|
|||
|
||||
/// Parse a `bool` from a string.
|
||||
///
|
||||
/// Yields a `Result<bool, ParseBoolError>`, because `s` may or may not
|
||||
/// actually be parseable.
|
||||
/// The only accepted values are `"true"` and `"false"`. Any other input
|
||||
/// will return an error.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue