[][src]Crate nudge

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 in no_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 probably true.

unlikely

Tells the compiler this bool is probably false.

unreach

Tells the compiler this code is unreachable.