Skip to content

Commit

Permalink
Auto merge of #105650 - cassaundra:float-literal-suggestion, r=pnkfelix
Browse files Browse the repository at this point in the history
Fix invalid float literal suggestions when recovering an integer

Only suggest adding a zero to integers with a preceding dot when the change will result in a valid floating point literal.

For example, `.0x0` should not be turned into `0.0x0`.

r? nnethercote
  • Loading branch information
bors committed Jan 31, 2023
2 parents eeee7ba + 89a7e8a commit 76629ea
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 76629ea

Please sign in to comment.