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

13
src/lib.rs Normal file
View File

@@ -0,0 +1,13 @@
pub mod prelude {
pub use std::{
convert::Infallible,
fmt::{Debug, Error, Formatter},
io::Read,
num::ParseIntError,
ops::{Index, IndexMut},
str::FromStr,
};
pub use anyhow::Result;
pub use thiserror::Error;
}