diff --git a/src/keymap.rs b/src/keymap.rs index 17c78d421..784c91016 100644 --- a/src/keymap.rs +++ b/src/keymap.rs @@ -582,6 +582,7 @@ impl<'b> InputState<'b> { } else { let snd_key = match evt { // we may have already read the second key in custom_seq_binding + #[allow(clippy::out_of_bounds_indexing)] Event::KeySeq(ref key_seq) if key_seq.len() > 1 => key_seq[1], _ => rdr.next_key(true)?, };