mirror of
https://github.com/clap-rs/clap
synced 2024-12-12 22:02:35 +00:00
fix(derive): Align value parser's type with occurrences_of
This commit is contained in:
parent
b417e62ccd
commit
bbab148289
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ impl Parser {
|
|||
),
|
||||
ParserKind::FromOccurrences => Method::new(
|
||||
func,
|
||||
quote_spanned! { self.kind.span()=> clap::value_parser!(usize)},
|
||||
quote_spanned! { self.kind.span()=> clap::value_parser!(u64)},
|
||||
),
|
||||
ParserKind::FromFlag => Method::new(
|
||||
func,
|
||||
|
|
Loading…
Reference in a new issue