Function clippy_lints::utils::is_integer_literal [] [src]

pub fn is_integer_literal(expr: &Expr, value: u128) -> bool

Check whether the given expression is a constant literal of the given value.