diff --git a/clap_builder/src/builder/value_parser.rs b/clap_builder/src/builder/value_parser.rs index 42d182d7a09..87757ed96d9 100644 --- a/clap_builder/src/builder/value_parser.rs +++ b/clap_builder/src/builder/value_parser.rs @@ -1828,7 +1828,7 @@ impl Default for FalseyValueParser { } } -/// Parse bool-like string values, everything else is an error +/// Parse bool-like string values /// /// See also: /// - [`ValueParser::bool`] for different human readable bool representations @@ -1877,7 +1877,7 @@ impl Default for FalseyValueParser { pub struct BoolishValueParser {} impl BoolishValueParser { - /// Parse bool-like string values, everything else is an error. + /// Parse bool-like string values pub fn new() -> Self { Self {} }