Skip to content

Commit

Permalink
Fix clippy lint in argh_derive
Browse files Browse the repository at this point in the history
  • Loading branch information
sadmac7000 committed Dec 20, 2024
1 parent 38cea9a commit a04fed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argh_derive/src/parse_attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ impl TypeAttrs {
continue;
}
};
if value > (std::i32::MAX as u64) {
if value > (i32::MAX as u64) {
errors.err(lit_int, "Error code out of range for `i32`");
}
match map.entry(value) {
Expand Down

0 comments on commit a04fed0

Please sign in to comment.