Remove unnecessary mut

This commit is contained in:
Joe Wilm 2017-05-09 09:50:16 -07:00
parent c92ac695af
commit 8288d419fd

View file

@ -234,7 +234,7 @@ impl EventsLoop {
let mut ev_mods = ModifiersState::default(); let mut ev_mods = ModifiersState::default();
let mut keysym = unsafe { let keysym = unsafe {
(self.display.xlib.XKeycodeToKeysym)(self.display.display, xkev.keycode as ffi::KeyCode, 0) (self.display.xlib.XKeycodeToKeysym)(self.display.display, xkev.keycode as ffi::KeyCode, 0)
}; };