diff --git a/gstd/src/macros/debug.rs b/gstd/src/macros/debug.rs index 06c697ba607..26d9dc91e35 100644 --- a/gstd/src/macros/debug.rs +++ b/gstd/src/macros/debug.rs @@ -65,7 +65,6 @@ macro_rules! debug { /// /// Similar to the standard library's /// [`dbg!`](https://doc.rust-lang.org/std/macro.dbg.html) macro. -#[cfg(any(feature = "debug", debug_assertions))] #[macro_export] macro_rules! dbg { () => { @@ -89,10 +88,3 @@ macro_rules! dbg { ($($crate::dbg!($val)),+,) }; } - -#[cfg(not(any(feature = "debug", debug_assertions)))] -#[allow(missing_docs)] -#[macro_export] -macro_rules! dbg { - ($($arg:tt)*) => {}; -}