Macro claims::debug_assert_le
source · [−]macro_rules! debug_assert_le {
($($arg:tt)*) => { ... };
}
Expand description
Asserts that first expression is less or equal than the second in runtime.
Like assert_le!
, this macro also has a second version,
where a custom panic message can be provided.
Uses
See debug_assert!
documentation for possible use cases.
The same applies to this macro.