clippy_
utils
1.84.0-dev
Module comparisons
Module Items
Enums
Functions
In crate clippy_
utils
clippy_utils
Module
comparisons
Copy item path
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
.