From 8288d419fd0370e84e703a9ce678aff91fa911e9 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Tue, 9 May 2017 09:50:16 -0700 Subject: [PATCH] Remove unnecessary mut --- src/platform/linux/x11/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/linux/x11/mod.rs b/src/platform/linux/x11/mod.rs index c21f6203..7fbccda8 100644 --- a/src/platform/linux/x11/mod.rs +++ b/src/platform/linux/x11/mod.rs @@ -234,7 +234,7 @@ impl EventsLoop { 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) };