[−][src]Macro chek::debug_le
Same as chek::le!
in debug builds or release builds where the -C debug-assertions
was provided to the compiler. For all other builds,
vanishes without a trace.
Optionally may take an additional message to display on failure, which is formatted using standard format syntax.
Example
// These are no-ops if debug_assertions are off! chek::debug_le!(3, 4); chek::debug_le!(4, 4); chek::debug_le!(3, 4, "With a message"); chek::debug_le!(3, 4, "With a formatted message: {}", "oh no");