mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Silence dead code warnings for unused colors
This commit is contained in:
@@ -11,6 +11,7 @@ pub static WRITER: Mutex<Writer> = Mutex::new(Writer {
|
||||
buffer: unsafe{Unique::new(0xb8000 as *mut _)},
|
||||
});
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[repr(u8)]
|
||||
pub enum Color {
|
||||
Black = 0,
|
||||
|
||||
Reference in New Issue
Block a user