Hint to the compiler that a particular boolean expression is unlikely to be true.
Useful for branch prediction. See also likely.
Example
use random::thread_rng;
use std::unlikely;
let v: f64 = thread_rng().next_float();
if unlikely!(v < 0.01) {
// ...
}
Run this example