From eb75bea91337447d31a3fc6006c2eab262cd2a4f Mon Sep 17 00:00:00 2001 From: Sergey Serebryakov <1047261+megaserg@users.noreply.github.com> Date: Mon, 18 Nov 2024 20:43:04 +0000 Subject: [PATCH] Remove everything after comma --- clap_builder/src/builder/value_parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {} }