Sanitizing log macro to allow usage in match arm directly

This commit is contained in:
Ryan Summers 2021-06-09 11:36:28 +02:00
parent e27e3254f4
commit 57604a4d4c
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ macro_rules! net_log {
#[cfg(not(any(feature = "log", feature = "defmt")))]
macro_rules! net_log {
($level:ident, $($arg:expr),*) => { $( let _ = $arg; )* }
($level:ident, $($arg:expr),*) => {{ $( let _ = $arg; )* }}
}
macro_rules! net_trace {