Fix syntax

This commit is contained in:
Matthias Beyer 2017-11-18 12:28:20 +01:00
parent 7bc47d40f3
commit 77f93e77f0

View file

@ -30,7 +30,7 @@ use error::StoreError as SE;
macro_rules! if_cfg_panic {
() => { panic!() };
($msg:expr) => { panic!($msg) };
($fmt:expr, $($arg:tt)+) => { panic!($fmt, $($($arg),*)) };
($fmt:expr, $($arg:tt)+) => { panic!($fmt, $($arg),+) };
}
#[cfg(not(feature = "early-panic"))]