alloy::core::hint

Function likely

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

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

ยงParameters

  • b - The boolean to check