aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-08-14 20:25:15 -0700
committerJoe Wilm <joe@jwilm.com>2016-08-14 20:25:15 -0700
commite3c68fed87cf4ea4fbce7bd94d14528cbb4f0822 (patch)
tree673a5a58894ceca96ea4af6b8abb3492aefe7fe8 /src/input.rs
parent8b4b1f8df1c54ea1a6e744e2df5dc58578f239d9 (diff)
downloadalacritty-e3c68fed87cf4ea4fbce7bd94d14528cbb4f0822.tar.gz
alacritty-e3c68fed87cf4ea4fbce7bd94d14528cbb4f0822.zip
Fix tests
Errors/warnings fixed.
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input.rs b/src/input.rs
index d859abd1..757256d2 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -292,7 +292,6 @@ mod tests {
use glutin::mods;
use super::Processor;
- use super::modifier;
use super::Binding;
/// Receiver that keeps a copy of any strings it is notified with
@@ -319,7 +318,7 @@ mod tests {
fn $name() {
let bindings = &[$binding];
- let mut processor = Processor::new();
+ let processor = Processor::new();
let mut receiver = Receiver::default();
processor.process_bindings(bindings, $mode, &mut receiver, $mods);