allow the remaining warnings from clippy

This commit is contained in:
Corwin Kuiper 2022-01-06 19:50:35 +00:00
parent e5efdcd29c
commit 3bb3dcf1b6

View file

@ -171,6 +171,7 @@ fn panic_implementation(info: &core::panic::PanicInfo) -> ! {
mgba.set_level(mgba::DebugLevel::Fatal); mgba.set_level(mgba::DebugLevel::Fatal);
} }
#[allow(clippy::empty_loop)]
loop {} loop {}
} }
@ -308,6 +309,7 @@ pub fn test_runner(tests: &[&dyn Testable]) {
#[entry] #[entry]
fn agb_test_main() -> ! { fn agb_test_main() -> ! {
test_main(); test_main();
#[allow(clippy::empty_loop)]
loop {} loop {}
} }
@ -329,6 +331,7 @@ mod test {
use super::Gba; use super::Gba;
#[test_case] #[test_case]
#[allow(clippy::eq_op)]
fn trivial_test(_gba: &mut Gba) { fn trivial_test(_gba: &mut Gba) {
assert_eq!(1, 1); assert_eq!(1, 1);
} }