From 2586d490bff72aa48b736ca235613f2c331021ba Mon Sep 17 00:00:00 2001 From: jane400 Date: Sun, 18 Aug 2024 18:14:21 +0200 Subject: [PATCH] format: libpaket.utils --- libpaket/src/utils.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libpaket/src/utils.rs b/libpaket/src/utils.rs index 1b4a335..b92c3d0 100644 --- a/libpaket/src/utils.rs +++ b/libpaket/src/utils.rs @@ -69,7 +69,10 @@ macro_rules! mini_assert_api { macro_rules! mini_assert_inval { ($a: expr) => { if !$a { - return Err(crate::LibraryError::InvalidArgument(format!("MiniAssert failed: $a"))); + return Err(crate::LibraryError::InvalidArgument(format!( + "MiniAssert failed: $a" + ))); } - } -} \ No newline at end of file + }; +} +