mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 21:30:31 +01:00
Misc fixes
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user