format: libpaket.utils

This commit is contained in:
jane400 2024-08-18 18:11:23 +02:00 committed by jane400
parent 06c9342ea7
commit 8573be6e23

View file

@ -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 {