Skip to content

merge commits from rustfmt-2.0 branch #3907

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

Merged
merged 3 commits into from
Nov 8, 2019

Conversation

calebcartwright
Copy link
Member

@calebcartwright calebcartwright commented Nov 7, 2019

Thought it might be helpful to go ahead and merge these commits to minimize the chance of potential conflicts, but can close this if it'd be better to wait

Follow up of #3906

@calebcartwright
Copy link
Member Author

Ah looks like this needs a bump based on the rustc-ap* 606 changes

}
5 => 5,
6 => { // comment 6
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did have to update this one line to get the tests to pass as the comment is now being kept on the same line as the opening bracket. IIRC that's because been some subequent updates that maintain that same line association. I added another arm below that I believe covers that original use case

@topecongiro
Copy link
Contributor

Awesome, thank you!

@topecongiro topecongiro merged commit 7037481 into rust-lang:master Nov 8, 2019
@calebcartwright calebcartwright deleted the rustfmt-2.0 branch November 8, 2019 01:03
@karyon
Copy link
Contributor

karyon commented Oct 26, 2021

backport not needed

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

Successfully merging this pull request may close these issues.

4 participants