Macro stat_debug

Source
macro_rules! stat_debug {
    ($arg:tt) => { ... };
}
Expand description

Creates a stat with the stringified argument as stat key and the argument value converted with Debug as stat value.

ยงExamples

use dicetest::stat_debug;

let random_number = 4;
stat_debug!({ random_number % 2 == 0 });