diff options
Diffstat (limited to 'graphics/src/lib.rs')
| -rw-r--r-- | graphics/src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index 02eb97f..fef5f9e 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -19,7 +19,6 @@ pub type Error = Box<dyn std::error::Error>; /// The `Result` type used witin this crate pub type Result<T> = std::result::Result<T, crate::Error>; -#[repr(u8)] #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum Key { // Movement @@ -38,7 +37,7 @@ pub enum Key { F, Q, // Number - Number(u8), + Number(usize), // Debug keys F3, F4, |