Skip to content

Commit

Permalink
Merge pull request #5474 from Will-Low/Docstring
Browse files Browse the repository at this point in the history
Update doctring for BoolishValueParser::new
  • Loading branch information
epage committed Apr 23, 2024
2 parents 2671fc1 + 41c0d51 commit 43efde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clap_builder/src/builder/value_parser.rs
Expand Up @@ -1913,7 +1913,7 @@ impl Default for FalseyValueParser {
pub struct BoolishValueParser {}

impl BoolishValueParser {
/// Parse bool-like string values, everything else is `true`
/// Parse bool-like string values, everything else is an error.
pub fn new() -> Self {
Self {}
}
Expand Down

0 comments on commit 43efde9

Please sign in to comment.