[−][src]Macro always_assert::always
Asserts that the condition is always true and returns its actual value.
If the condition is true does nothing and and evaluates to true.
If the condition is false:
- panics if
forcefeature ordebug_assertionsare enabled, - logs an error if
logfeature is enabled, - evaluates to false.
Accepts format! style arguments.