Merge pull request #3778 from epage/unify

fix(derive): Align value parser's type with occurrences_of
This commit is contained in:
Ed Page 2022-06-01 12:16:19 -05:00 committed by GitHub
commit ec9d180e11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,