mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
Merge pull request #3778 from epage/unify
fix(derive): Align value parser's type with occurrences_of
This commit is contained in:
commit
ec9d180e11
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