alloy::core::hint

Function unlikely

source
pub const fn unlikely(b: bool) -> bool
Expand description

A marker intrinsic that tells the compiler to optimize the case where the given boolean is unlikely to be true.

ยงParameters

  • b - The boolean to check