satisfy linter

This commit is contained in:
Corwin 2024-04-06 02:36:02 +01:00
parent 85f5a8493c
commit 0d609f6d4a
No known key found for this signature in database

View file

@ -16,7 +16,7 @@ fn main(mut gba: agb::Gba) -> ! {
}
if input.is_just_pressed(agb::input::Button::B) {
#[allow(arithmetic_overflow)]
let _p = core::i32::MAX + 1;
let _p = i32::MAX + 1;
}
}
}