feat: update to rust edition 2024
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user