Skip to content

Commit

Permalink
Update doctring for BoolishValueParser::new
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-Low committed Apr 23, 2024
1 parent 2671fc1 commit 41c0d51
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 41c0d51

Please sign in to comment.