feat: update to rust edition 2024

This commit is contained in:
Felix Spöttel
2025-11-26 14:14:49 +01:00
parent b67460e2b9
commit a939163268
9 changed files with 23 additions and 17 deletions

View File

@@ -1,10 +1,12 @@
use std::process;
use crate::template::{aoc_cli, Day};
use crate::template::{Day, aoc_cli};
pub fn handle(day: Day) {
if aoc_cli::check().is_err() {
eprintln!("command \"aoc\" not found or not callable. Try running \"cargo install aoc-cli\" to install it.");
eprintln!(
"command \"aoc\" not found or not callable. Try running \"cargo install aoc-cli\" to install it."
);
process::exit(1);
}