You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing a program which stores some amount of cents as an unsigned integer. It's basically a fixed-point decimal. So, it makes sense to place an underscore before the last two digits, but clippy flips out over this. For example, the following does not pass the lint:
fnone_million_dollars() -> u64{1_000_000_00}
I propose that the behavior should be changed so that literals with no fractional part can have a final grouping of two digits. If everyone agrees, I'd be willing to implement the change myself.