reduced overhead by passing an owned string

This commit is contained in:
2025-12-13 22:20:54 +01:00
parent 0a08ad2cae
commit 2eddd7fdc2
36 changed files with 66 additions and 66 deletions

View File

@@ -29,12 +29,12 @@ mod tests {
#[test]
#[ignore]
fn part08a() {
assert_eq!(part08a::solve(PUZZLE.to_string()), 40);
assert_eq!(part08a::solve(PUZZLE), 40);
}
#[test]
#[ignore]
fn part08b() {
assert_eq!(part08b::solve(PUZZLE.to_string()), 0);
assert_eq!(part08b::solve(PUZZLE), 0);
}
}