clippy_
utils
1.84.0-beta.4
(202008a1b 2024-12-07)
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
.