1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 06:12:16 +03:00

remove non needed non-snake-case attributes

This commit is contained in:
Stephane Fontaine 2019-02-23 23:11:05 +04:00 committed by Wez Furlong
parent 573c7a1aee
commit e986ec99f9

View File

@ -265,12 +265,10 @@ struct XkbGenericEvent {
}
impl XkbGenericEvent {
#[allow(non_snake_case)]
pub fn xkb_type(&self) -> u8 {
unsafe { (*self.base.ptr).xkb_type }
}
#[allow(non_snake_case)]
pub fn device_id(&self) -> u8 {
unsafe { (*self.base.ptr).device_id }
}