Fix syntax
This commit is contained in:
parent
7bc47d40f3
commit
77f93e77f0
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ use error::StoreError as SE;
|
||||||
macro_rules! if_cfg_panic {
|
macro_rules! if_cfg_panic {
|
||||||
() => { panic!() };
|
() => { panic!() };
|
||||||
($msg:expr) => { panic!($msg) };
|
($msg:expr) => { panic!($msg) };
|
||||||
($fmt:expr, $($arg:tt)+) => { panic!($fmt, $($($arg),*)) };
|
($fmt:expr, $($arg:tt)+) => { panic!($fmt, $($arg),+) };
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(feature = "early-panic"))]
|
#[cfg(not(feature = "early-panic"))]
|
||||||
|
|
Loading…
Reference in a new issue