format: libpaket.utils
This commit is contained in:
parent
8573be6e23
commit
2586d490bf
1 changed files with 6 additions and 3 deletions
|
@ -69,7 +69,10 @@ macro_rules! mini_assert_api {
|
||||||
macro_rules! mini_assert_inval {
|
macro_rules! mini_assert_inval {
|
||||||
($a: expr) => {
|
($a: expr) => {
|
||||||
if !$a {
|
if !$a {
|
||||||
return Err(crate::LibraryError::InvalidArgument(format!("MiniAssert failed: $a")));
|
return Err(crate::LibraryError::InvalidArgument(format!(
|
||||||
}
|
"MiniAssert failed: $a"
|
||||||
|
)));
|
||||||
}
|
}
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue