Create advent prelude and cleanup lint by using it.

This commit is contained in:
2021-12-16 20:10:01 -08:00
parent 1fb9a8416d
commit 232b2687ca
10 changed files with 64 additions and 44 deletions

View File

@@ -1,14 +1,5 @@
use std::{
fmt::{Debug, Error, Formatter},
io::Read,
num::ParseIntError,
ops::{Index, IndexMut},
str::FromStr,
};
use anyhow::Result;
use aoc_runner_derive::{aoc, aoc_generator};
use thiserror::Error;
use advent::prelude::*;
use aoc_runner_derive::aoc;
fn hex(b: &u8) -> u8 {
if *b >= b'A' {