Skip to main content

bug_assert

Macro bug_assert 

Source
macro_rules! bug_assert {
    ($cond:expr, $msg:expr, $($arg:tt)*) => { ... };
    ($cond:expr, $msg:expr) => { ... };
    ($cond:expr) => { ... };
}
Expand description

Like assert!, but formats the error message using bug!