diff --git a/cursive-core/src/event.rs b/cursive-core/src/event.rs index ebc904bf..6c3d4a6f 100644 --- a/cursive-core/src/event.rs +++ b/cursive-core/src/event.rs @@ -445,7 +445,6 @@ impl Key { /// If `n == 0 || n > 12` pub fn from_f(n: u8) -> Key { match n { - 0 => Key::F0, 1 => Key::F1, 2 => Key::F2, 3 => Key::F3,