Add rust lint CI job.
All checks were successful
Check / Check Rust (pull_request) Successful in 22s

This commit is contained in:
Drew 2025-12-13 23:16:33 -08:00
parent 311755c812
commit 000c9403d5
30 changed files with 178 additions and 108 deletions

View file

@ -7,7 +7,7 @@ use mammoth::thread;
#[allow(dead_code)]
#[derive(PartialEq, Eq, PartialOrd, Ord, Copy, Clone)]
enum Keycode {
UnknownKeycode = 0x0,
Unknown = 0x0,
A = 0x1,
B = 0x2,
@ -135,7 +135,7 @@ impl Keycode {
0x37 => Keycode::Period,
0x38 => Keycode::FSlash,
0x39 => Keycode::Esc,
_ => Keycode::UnknownKeycode,
_ => Keycode::Unknown,
}
}
}