Fix all clippy warnings.

This commit is contained in:
2018-12-17 12:26:31 +01:00
parent 851868bed4
commit f23624c456
15 changed files with 52 additions and 38 deletions

View File

@@ -46,7 +46,7 @@ fn skill_after(n: usize) -> u64 {
let mut skill = 0;
for d in state.skip(n).take(10) {
skill *= 10;
skill += d as u64;
skill += u64::from(d);
}
skill