From 0d609f6d4a0dc59691869bca788e1c1e86283081 Mon Sep 17 00:00:00 2001 From: Corwin Date: Sat, 6 Apr 2024 02:36:02 +0100 Subject: [PATCH] satisfy linter --- agb/examples/panic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/examples/panic.rs b/agb/examples/panic.rs index 71ff6e8c..a02e857f 100644 --- a/agb/examples/panic.rs +++ b/agb/examples/panic.rs @@ -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; } } }