Function clippy_utils::is_integer_literal
source · [−]Expand description
Checks whether the given expression is a constant literal of the given value.
Checks whether the given expression is a constant literal of the given value.