Crate nudge[−][src]
Expand description
Sometimes it just takes a small nudge for the compiler to generate the code you want.
Functions
The same as std::process::abort
, but annotated as #[cold]
, nounwind
, and usable in no_std
environments.
Unsafely assumes the value of an expression to be true
.
Assumes a closure will not panic.
Tells the compiler this bool
is probably true
.
Tells the compiler this bool
is probably false
.
Tells the compiler this code is unreachable.