feat: fix and change solution print formating

This commit is contained in:
2023-11-23 00:14:38 +01:00
parent 0000039097
commit 000004005f
3 changed files with 6 additions and 6 deletions

View File

@@ -36,9 +36,9 @@ macro_rules! solution {
fn main() {
let input = aoc::read_file("inputs", 1);
println!("{}Part {}{}", ANSI_BOLD, 1, ANSI_RESET);
print!("{}Part {}{}: ", ANSI_BOLD, 1, ANSI_RESET);
print_result(part_one, &input);
println!("{}Part {}{}", ANSI_BOLD, 1, ANSI_RESET);
print!("{}Part {}{}: ", ANSI_BOLD, 2, ANSI_RESET);
print_result(part_two, &input);
}
};