clippy_
utils
1.84.0-nightly
(3fee0f12e 2024-11-20)
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
.