Add missing documentation for bool::from_str

This commit is contained in:
Guillaume Gomez 2022-09-21 14:17:11 +02:00
parent 8fd6d03e22
commit b4fdc5861d

View File

@ -573,8 +573,8 @@ impl FromStr for bool {
/// Parse a `bool` from a string. /// Parse a `bool` from a string.
/// ///
/// Yields a `Result<bool, ParseBoolError>`, because `s` may or may not /// The only accepted values are `"true"` and `"false"`. Any other input
/// actually be parseable. /// will return an error.
/// ///
/// # Examples /// # Examples
/// ///