2019: day01: part 1
This commit is contained in:
parent
f743d60f85
commit
22fcfdae4f
7 changed files with 193 additions and 0 deletions
8
aoc2019/src/lib.rs
Normal file
8
aoc2019/src/lib.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
pub mod day01;
|
||||
|
||||
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! err {
|
||||
($($string:expr),+) => (Box::<dyn Error>::from(format!($($string),+)))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue