fix(derive): Align value parser's type with occurrences_of

This commit is contained in:
Ed Page 2022-06-01 11:21:34 -05:00
parent b417e62ccd
commit bbab148289

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,