aoc-2021-rust

git clone https://git.sinitax.com/sinitax/aoc-2021-rust
Log | Files | Refs | README | sfeed.txt

commit 4a99fac4c36808c99e8149ef0a692bf307ec70ba
parent d6043a35398d885b348e6b30f19c5da9c7d9da1d
Author: Louis Burda <quent.burda@gmail.com>
Date:   Wed, 19 Apr 2023 18:26:15 +0200

Add warning for when no solution is present

Diffstat:
Msrc/common/aoc/src/lib.rs | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/common/aoc/src/lib.rs b/src/common/aoc/src/lib.rs @@ -102,6 +102,8 @@ pub fn run(part1: fn(info: &mut Info), part2: fn(info: &mut Info)) { if answer != solution { err!("Incorrect solution!"); } + } else { + err!("Missing solution!"); } } }