1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
macro_rules! warning {
($expr: expr) => {
println!("multisql Warning: {}", $expr);
};
}
pub(crate) use warning;
macro_rules! try_option {
($try: expr) => {
match $try {
Ok(success) => success,
Err(error) => return Some(Err(error)),
}
};
}
pub(crate) use try_option;