mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 17:41:33 +11:00
allow the remaining warnings from clippy
This commit is contained in:
parent
e5efdcd29c
commit
3bb3dcf1b6
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue