fix warning from latest rust

This commit is contained in:
bunnie 2024-06-15 00:41:35 +08:00
parent 89dbf88e51
commit a1c3e8e598

View file

@ -3,6 +3,7 @@ use std::fmt::Display;
pub const SERVER_NAME_KBD: &str = "_Matrix keyboard driver_";
#[derive(Debug, Default, Copy, Clone)]
#[allow(dead_code)]
pub struct ScanCode {
/// base key value
pub key: Option<char>,