rust clippy
change kmtmvyyzvtqkokmvxlopuwnqkpssnntq
commit c4d74713bfeb1728af5d1a05113425e3f184c64d
author Alpha Chen <alpha.chen@gmail.com>
date
parent tpquqtqu
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<char> {