diff --git a/src/fmt.rs b/src/fmt.rs index 73e8727..fa72a01 100644 --- a/src/fmt.rs +++ b/src/fmt.rs @@ -190,14 +190,14 @@ macro_rules! unwrap { } } }; - ($arg:expr, $($msg:expr),+ $(,)?) => { + ($arg:expr, $($msg:expr),+ $(,)? ) => { match $crate::fmt::Try::into_result($arg) { ::core::result::Result::Ok(t) => t, ::core::result::Result::Err(e) => { ::core::panic!("unwrap of `{}` failed: {}: {:?}", ::core::stringify!($arg), ::core::format_args!($($msg,)*), e); } } - }; + } } #[derive(Debug, Copy, Clone, Eq, PartialEq)]