multisql/utils/
macros.rs

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