From e986ec99f9e5800737b188e68233e059cf60ba58 Mon Sep 17 00:00:00 2001 From: Stephane Fontaine Date: Sat, 23 Feb 2019 23:11:05 +0400 Subject: [PATCH] remove non needed non-snake-case attributes --- src/xwindows/keyboard.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/xwindows/keyboard.rs b/src/xwindows/keyboard.rs index b612c393f..42968478d 100644 --- a/src/xwindows/keyboard.rs +++ b/src/xwindows/keyboard.rs @@ -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 } }