Macro gstd::prelude::dbg

source ·
macro_rules! dbg {
    () => { ... };
    ($val:expr $(,)?) => { ... };
    ($($val:expr),+ $(,)?) => { ... };
}
Expand description

Prints and returns the value of a given expression for quick and dirty debugging.

Similar to the standard library’s dbg! macro.