From 841ee6016bc8ce59fc388e228a1bbfa93bc639cc Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Tue, 14 Dec 2021 05:59:16 -0500 Subject: [PATCH] Fix a macro warning --- libcitadel/src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcitadel/src/error.rs b/libcitadel/src/error.rs index 7568d0a..3847638 100644 --- a/libcitadel/src/error.rs +++ b/libcitadel/src/error.rs @@ -14,10 +14,10 @@ pub type Result = result::Result; #[macro_export] macro_rules! bail { ($e:expr) => { - return Err($crate::error::Error::message($e)); + return Err($crate::error::Error::message($e)) }; ($fmt:expr, $($arg:tt)*) => { - return Err($crate::error::Error::message(format!($fmt, $($arg)*))); + return Err($crate::error::Error::message(format!($fmt, $($arg)*))) }; }