dbg!
macro RS-C1013The dbg!
macro is intended to be a debugging tool, avoid having uses of it in
version control. Debug output from production code is better done with other
facilities such as the debug!
macro from the log
crate.
if dbg!(n >= 1) {
// ...
} else {
// ...
}
let val = 2 * dbg!(2 - 2);
if n >= 1 {
// ...
} else {
// ...
}
let val = 2 * (2 - 2);