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

Same as assert_lt! 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_lt!(3, 4);
ma::debug_assert_lt!(3, 4, "With a message");
ma::debug_assert_lt!(3, 4, "With a formatted message: {}", "oh no");