Rollup merge of #102094 - GuillaumeGomez:bool-from-str-missing-docs, r=scottmcm
Add missing documentation for `bool::from_str` Fixes #101870.
This commit is contained in:
commit
986fc4b5d2
@ -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