BUG: Fails to keep a space before range ..
when its LHS is a binary operation whose RHS is a float literal ending with .
#6175
Labels
I wonder how I can make the title short 🤔
In the following code, the space between
1.
and..
must be kept, as together they form an illegal token...
.Expected: no changes, found:
Related: #3854 , but it only handles the case when LHS of
..
is not a binary expression. Indeed, this code is not modified by rustfmt as expected:The text was updated successfully, but these errors were encountered: