rust clippy

profile
Alpha Chen 8 years ago
parent 9d39b06eb7
commit bc6d0e2396

@ -74,7 +74,7 @@ impl Keypad {
fn button(&self) -> char { fn button(&self) -> char {
let (x, y) = self.current; let (x, y) = self.current;
self.arrangement[y][x].unwrap().clone() self.arrangement[y][x].unwrap()
} }
fn button_at(&self, x: usize, y: usize) -> Option<char> { fn button_at(&self, x: usize, y: usize) -> Option<char> {

Loading…
Cancel
Save