Misc fixes

This commit is contained in:
2023-12-13 18:41:15 +01:00
parent 0c4430ad01
commit 975a1f8faf
2 changed files with 3 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ pub fn part1(input: &[u8]) -> anyhow::Result<String> {
let total: u64 = lines
.iter()
.map(|(line, groups)| number_ways(*line, groups))
.map(|(line, groups)| number_ways(line, groups))
.sum();
Ok(total.to_string())