clippy_
utils
1.83.0-beta.6
(4ff8ff0ec 2024-11-16)
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
.