diff --git a/2016/rust/src/day_02.rs b/2016/rust/src/day_02.rs index 806f06f..8ab608a 100644 --- a/2016/rust/src/day_02.rs +++ b/2016/rust/src/day_02.rs @@ -74,7 +74,7 @@ impl Keypad { fn button(&self) -> char { 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 {