remove non needed non-snake-case attributes
This commit is contained in:
1 parent
573c7a1aee
commit
e986ec99f9
1 file changed
-2
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user