From 8573be6e235f10ec9228ddf33c62956002f6e9d7 Mon Sep 17 00:00:00 2001 From: jane400 Date: Sun, 18 Aug 2024 18:11:23 +0200 Subject: [PATCH] format: libpaket.utils --- libpaket/src/utils.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libpaket/src/utils.rs b/libpaket/src/utils.rs index 8e31deb..1b4a335 100644 --- a/libpaket/src/utils.rs +++ b/libpaket/src/utils.rs @@ -20,7 +20,8 @@ impl CookieHeaderValueBuilder { } pub fn add_dhlcs(mut self, dhli: &DHLIdToken) -> Self { - self.list.push(("dhlcs".to_string(), dhli.get_dhlcs().to_string())); + self.list + .push(("dhlcs".to_string(), dhli.get_dhlcs().to_string())); self } @@ -54,7 +55,7 @@ macro_rules! mini_assert_api_eq { if $a != $b { return Err(crate::LibraryError::APIChange); } - } + }; } macro_rules! mini_assert_api { @@ -62,10 +63,9 @@ macro_rules! mini_assert_api { if !$a { return Err(crate::LibraryError::APIChange); } - } + }; } - macro_rules! mini_assert_inval { ($a: expr) => { if !$a {