Add missing documentation for bool::from_str
This commit is contained in:
parent
8fd6d03e22
commit
b4fdc5861d
@ -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…
x
Reference in New Issue
Block a user