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 {