Silence dead code warnings for unused colors

This commit is contained in:
Philipp Oppermann
2015-09-24 18:13:05 +02:00
parent c547b128e5
commit e4a8c4c9fa

View File

@@ -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,