mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 06:12:40 +00:00
style(builder): Be consistent in order
This commit is contained in:
parent
a50e32c135
commit
99bcdfc6c7
1 changed files with 6 additions and 6 deletions
|
@ -2223,18 +2223,18 @@ impl ValueParserFactory for i32 {
|
|||
RangedI64ValueParser::new().range(start..=end)
|
||||
}
|
||||
}
|
||||
impl ValueParserFactory for i64 {
|
||||
type Parser = RangedI64ValueParser<i64>;
|
||||
fn value_parser() -> Self::Parser {
|
||||
RangedI64ValueParser::new()
|
||||
}
|
||||
}
|
||||
impl ValueParserFactory for u64 {
|
||||
type Parser = RangedU64ValueParser<u64>;
|
||||
fn value_parser() -> Self::Parser {
|
||||
RangedU64ValueParser::new()
|
||||
}
|
||||
}
|
||||
impl ValueParserFactory for i64 {
|
||||
type Parser = RangedI64ValueParser<i64>;
|
||||
fn value_parser() -> Self::Parser {
|
||||
RangedI64ValueParser::new()
|
||||
}
|
||||
}
|
||||
impl<T> ValueParserFactory for std::num::Wrapping<T>
|
||||
where
|
||||
T: ValueParserFactory,
|
||||
|
|
Loading…
Reference in a new issue