Skip to content

Commit a04fed0

Browse files
committed
Fix clippy lint in argh_derive
1 parent 38cea9a commit a04fed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

argh_derive/src/parse_attrs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ impl TypeAttrs {
355355
continue;
356356
}
357357
};
358-
if value > (std::i32::MAX as u64) {
358+
if value > (i32::MAX as u64) {
359359
errors.err(lit_int, "Error code out of range for `i32`");
360360
}
361361
match map.entry(value) {

0 commit comments

Comments
 (0)