1
0
Fork 0
mirror of https://github.com/italicsjenga/agb.git synced 2025-01-04 14:11:33 +11:00

Be less happy with what we allow

This commit is contained in:
Gwilym Inzani 2023-08-06 20:46:58 +01:00
parent 46c9ebb855
commit 11f71371e2
2 changed files with 1 additions and 5 deletions
agb/src/display
mod.rs
object/unmanaged

View file

@ -151,7 +151,6 @@ unsafe fn set_graphics_settings(settings: GraphicsSettings) {
DISPLAY_CONTROL.set(s);
}
#[allow(non_snake_case)]
/// Waits until vblank using a busy wait loop, this should almost never be used.
/// I only say almost because whilst I don't believe there to be a reason to use
/// this I can't rule it out.

View file

@ -161,10 +161,7 @@ enum ColourMode {
Eight,
}
// this mod is not public, so the internal parts don't need documenting.
#[allow(dead_code)]
#[allow(clippy::all)]
#[allow(clippy::map_unwrap_or)]
#[allow(clippy::module_inception)]
mod attributes {
use crate::display::Priority;