From d6161f9e24e2cbaab033cbacafb402039fe61bde Mon Sep 17 00:00:00 2001 From: Greg Chapple Date: Wed, 16 Mar 2016 12:02:29 +0000 Subject: [PATCH] Fixed keys example --- examples/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/keys.rs b/examples/keys.rs index 7c30bbf..06d88a7 100644 --- a/examples/keys.rs +++ b/examples/keys.rs @@ -29,7 +29,7 @@ fn main() { Key::Down => println!("↓"), Key::Backspace => println!("×"), Key::Invalid => println!("???"), - Key::Error => println!("ERROR"), + Key::Error(_) => println!("ERROR"), _ => {}, } stdout.flush().unwrap();