aboutsummaryrefslogtreecommitdiff
path: root/src/event.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-07-01 16:31:46 +0000
committerGitHub <noreply@github.com>2018-07-01 16:31:46 +0000
commit12afbd007db8a8995617b3e7ebda3840860bbadc (patch)
treea0de7c3db93b18b5edbbe44ab2f6b179ae6acc28 /src/event.rs
parentd5690f6cc75908d81d0eccf57e62d486c13d34f5 (diff)
downloadalacritty-12afbd007db8a8995617b3e7ebda3840860bbadc.tar.gz
alacritty-12afbd007db8a8995617b3e7ebda3840860bbadc.zip
Fix clippy issues
Diffstat (limited to 'src/event.rs')
-rw-r--r--src/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event.rs b/src/event.rs
index cff013e3..c10f8a72 100644
--- a/src/event.rs
+++ b/src/event.rs
@@ -291,7 +291,7 @@ impl<N: Notify> Processor<N> {
},
KeyboardInput { input, .. } => {
let glutin::KeyboardInput { state, virtual_keycode, modifiers, .. } = input;
- processor.process_key(state, virtual_keycode, &modifiers);
+ processor.process_key(state, virtual_keycode, modifiers);
if state == ElementState::Pressed {
// Hide cursor while typing
*hide_cursor = true;