1 2 3 4 5 6
#[macro_export] macro_rules! load_config { ($yml:expr) => ( crate::config::Config::from_str(include_str!($yml)).expect("failed to load config file") ); }
1 2 3 4 5 6
#[macro_export] macro_rules! load_config { ($yml:expr) => ( crate::config::Config::from_str(include_str!($yml)).expect("failed to load config file") ); }