Closed
Description
unreadable_literal triggers for floating-point numbers such as
| 5 | 0.095332, 0.118095, 0.095332, | ^^^^^^^^ help: consider: `0.095_332`
To me this is weird, because I consider _
in numbers as an equivalent of a thousands separator, and I've never seen thousands separators used in the fractional part of a decimal fraction.
In integers, the thousands separators matter, because you can't see magnitude of the number without counting digits. But in the fractional part, the length doesn't matter: the most significant digits are always in the same place, easy to find.
I suggest not linting the fractional part, as it's weird and unnecessary.
clippy 0.0.212 (265318d 2019-05-17)