debug_assert_ne!() { /* proc-macro */ }
Expand description

Just like the core::debug_assert_ne! macro but defmt is used to log the panic message

If used, the format string must follow the defmt syntax (documented in the manual)