aoc: export Error type

This commit is contained in:
Antoine Martin 2020-12-02 12:46:49 +01:00
parent 27a25d5c2f
commit b2214c7195

View file

@ -1,6 +1,7 @@
use std::env;
pub type Result<T> = std::result::Result<T, Box<dyn std::error::Error>>;
pub type Error = Box<dyn std::error::Error>;
pub type Result<T> = std::result::Result<T, Error>;
#[macro_export]
macro_rules! err {