Cleaning for clippy

This commit is contained in:
2018-11-19 15:21:02 +01:00
parent 2a4a6a7dc9
commit c841d08d14
6 changed files with 53 additions and 66 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ fn main() {
let controls = if gamepads.is_empty() {
Controls::default_keyboard()
} else {
gamepads[0].clone()
gamepads[0]
};
let mut character = Character::with_controls(controls);