diff --git a/AdvLoggerPkg/Crates/RustAdvancedLoggerDxe/src/lib.rs b/AdvLoggerPkg/Crates/RustAdvancedLoggerDxe/src/lib.rs index 6b949d78b3..da3fd420c5 100644 --- a/AdvLoggerPkg/Crates/RustAdvancedLoggerDxe/src/lib.rs +++ b/AdvLoggerPkg/Crates/RustAdvancedLoggerDxe/src/lib.rs @@ -215,13 +215,13 @@ macro_rules! debugln { #[macro_export] macro_rules! function { () => {{ - fn f() {} - fn type_name_of(_: T) -> &'static str { - core::any::type_name::() - } - let name = type_name_of(f); - name.strip_suffix("::f").unwrap() - }} + fn f() {} + fn type_name_of(_: T) -> &'static str { + core::any::type_name::() + } + let name = type_name_of(f); + name.strip_suffix("::f").unwrap() + }}; } #[cfg(test)] @@ -316,4 +316,4 @@ mod tests { debug!(DEBUG_VERBOSE, "This {:} {:} {:} test.\n", "is", "a", "DEBUG_VERBOSE"); debug!(DEBUG_ERROR, "{:}", "This is a DEBUG_ERROR test.\n"); } -} \ No newline at end of file +}