Expand description
Sometimes it just takes a small nudge for the compiler to generate the code you want.
Functions§
- abort
- The same as
std::process::abort
, but annotated as#[cold]
,nounwind
, and usable inno_std
environments. - assume⚠
- Unsafely assumes the value of an expression to be
true
. - assume_
nopanic ⚠ - Assumes a closure will not panic.
- likely
- Tells the compiler this
bool
is probablytrue
. - unlikely
- Tells the compiler this
bool
is probablyfalse
. - unreach⚠
- Tells the compiler this code is unreachable.