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

Same as assert_gt! in builds with debug assertions enabled, and a no-op otherwise.

Example

use more_asserts as ma;

// These are compiled to nothing if debug_assertions are off!
ma::debug_assert_gt!(5, 3);
ma::debug_assert_gt!(5, 3, "With a message");
ma::debug_assert_gt!(5, 3, "With a formatted message: {}", "oh no");