Commit b77b3f78 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

vkeyboard: Use a generic slice instead of a vector

parent 87eb7753
......@@ -41,7 +41,7 @@ impl VirtualKeyboard {
// TODO: error out if keymap not set
pub fn switch(
keycodes: &Vec<KeyCode>,
keycodes: &[KeyCode],
action: PressType,
timestamp: Timestamp,
) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment