pub fn is_zero_integer_const(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool
Expand description
Check if expr
evaluates to an integer constant of 0.
pub fn is_zero_integer_const(cx: &LateContext<'_>, expr: &Expr<'_>) -> bool
Check if expr
evaluates to an integer constant of 0.