Bunch of clippy fixes

This commit is contained in:
2023-01-28 22:52:46 +01:00
parent e914c17f81
commit d5d9b1c192
10 changed files with 23 additions and 30 deletions

View File

@@ -154,7 +154,7 @@ pub fn part2(input: &[u8]) -> Result<String> {
let mut tortoise_time = 0;
let mut last_gust = 0;
const TARGET: usize = 1000000000000;
const TARGET: usize = 1_000_000_000_000;
for (it, (shape_id, &shape)) in shapes.by_ref().enumerate() {
let mut x = 2usize;