Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor formatting in sequential tuple struct invocations #4571

Closed
sanbox-irl opened this issue Dec 2, 2020 · 1 comment
Closed

Poor formatting in sequential tuple struct invocations #4571

sanbox-irl opened this issue Dec 2, 2020 · 1 comment

Comments

@sanbox-irl
Copy link

sanbox-irl commented Dec 2, 2020

Input

fn test() {
    self.1 .0;
}

Output

fn test() {
    self.1 .0;
}

Note the space after the 1

Expected output

fn test() {
    self.1.0;
}

Meta

  • rustfmt version: rustfmt 1.4.24-stable (eb894d5 2020-11-05)
  • From where did you install rustfmt?: rustup
@calebcartwright
Copy link
Member

Closing as duplicate, more context in #4355 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants