update the update the day modules of easier usage of the alt flag

This commit is contained in:
Leo Drachenfeuer 2022-12-08 03:16:58 +01:00
parent 27e7e0416a
commit 2f19e92f66
Signed by: dragonleo
GPG key ID: A8338FC081137CF0
21 changed files with 84 additions and 0 deletions

View file

@ -3,6 +3,10 @@ use std::fs::File;
use std::io::{BufReader,Lines};
use crate::util::read_lines;
fn part1(lines: Lines<BufReader<File>>) {
}
pub fn subcmd_day021(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {