加点描述
This commit is contained in:
parent
f410eb7199
commit
e0eb286ae5
@ -114,12 +114,14 @@ pub fn avro_data_to_file_list(data: Vec<u8>) -> Option<Vec<SyncFile>> {
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! fatal {
|
||||
// 正常输入两组信息
|
||||
(($($arg1:tt)+), ($($arg2:tt)+)) => {
|
||||
use log::error;
|
||||
// error!() + panic!()
|
||||
error!($($arg1)+);
|
||||
panic!($($arg2)+);
|
||||
};
|
||||
// 如果只输入了一组
|
||||
($($arg:tt)+) => {
|
||||
use log::error;
|
||||
// error!() + panic!()
|
||||
|
Loading…
Reference in New Issue
Block a user