fix(log): 修复pr #814 的问题 (#821)

This commit is contained in:
LoGin
2024-05-16 17:32:39 +08:00
committed by GitHub
parent 2eab6dd743
commit 0897bd8e75
3 changed files with 9 additions and 14 deletions

View File

@ -40,7 +40,7 @@ macro_rules! define_unified_initializer_slice {
static $name: [::unified_init::UnifiedInitializer] = [..];
};
() => {
compile_kerror!(
compile_error!(
"define_unified_initializer_slice! requires at least one argument: slice_name"
);
};
@ -54,7 +54,7 @@ macro_rules! define_public_unified_initializer_slice {
pub static $name: [::unified_init::UnifiedInitializer] = [..];
};
() => {
compile_kerror!(
compile_error!(
"define_unified_initializer_slice! requires at least one argument: slice_name"
);
};