float_cmp should not apply to results of signum() #4248
Labels
C-enhancement
Category: Enhancement of lints, like adding more cases or adding help messages
good-first-issue
These issues are a good way to get started with Clippy
L-correctness
Lint: Belongs in the correctness lint group
Hello,
It seems to me that clippy should allow the results of two calls to
f{32, 64}::signum()
to be compared, e.g a contrived example:results in:
The text was updated successfully, but these errors were encountered: