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

@@ -18,11 +18,11 @@ L82";
#[test]
fn part01a() {
assert_eq!(part01a::solve(PUZZLE.to_string()), 3);
assert_eq!(part01a::solve(PUZZLE), 3);
}
#[test]
fn part01b() {
assert_eq!(part01b::solve(PUZZLE.to_string()), 6);
assert_eq!(part01b::solve(PUZZLE), 6);
}
}