clippy_
utils
1.83.0-nightly
(6f4ae0f34 2024-10-08)
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
.