clippy_utils

Module comparisons

Source
Expand description

Utility functions for comparison operators.

Enums§

Rel
Represents a normalized comparison operator.

Functions§

normalize_comparison
Put the expression in the form lhs < rhs, lhs <= rhs, lhs == rhs or lhs != rhs.