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

View file

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

View file

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