diff --git a/agb/src/display/mod.rs b/agb/src/display/mod.rs index c61ef432..516f39f3 100644 --- a/agb/src/display/mod.rs +++ b/agb/src/display/mod.rs @@ -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. diff --git a/agb/src/display/object/unmanaged/attributes.rs b/agb/src/display/object/unmanaged/attributes.rs index 3437cf16..498bfb68 100644 --- a/agb/src/display/object/unmanaged/attributes.rs +++ b/agb/src/display/object/unmanaged/attributes.rs @@ -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;