Sanitizing log macro to allow usage in match arm directly
This commit is contained in:
parent
e27e3254f4
commit
57604a4d4c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue