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

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

Like std::dbg, but used crate::Debug instead of std::fmt::Debug

Stability

The exact output printed by this macro should not be relied upon and is subject to future changes.

Panics

Panics if writing to std::io::stderr fails.