Skip to content

move arrow-comment of match arm inside the block #3330

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 2 commits into from
Oct 19, 2019

Conversation

fyrchik
Copy link
Contributor

@fyrchik fyrchik commented Feb 7, 2019

This fixes #3170

This looks not so elegant, however I have not found a simpler way, because there are at least 4 different cases, which can be found in test.

Let me know, what you think.

Copy link
Contributor

@scampi scampi left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! few comments inline

@scampi
Copy link
Contributor

scampi commented Feb 9, 2019

@topecongiro I think this change should be version-gated ?

@topecongiro
Copy link
Contributor

@topecongiro I think this change should be version-gated ?

Yes.

@topecongiro topecongiro added this to the 2.0.0 milestone Oct 19, 2019
@topecongiro topecongiro changed the base branch from master to rustfmt-2.0 October 19, 2019 07:50
@topecongiro topecongiro merged commit d2e3526 into rust-lang:rustfmt-2.0 Oct 19, 2019
calebcartwright pushed a commit to calebcartwright/rustfmt that referenced this pull request Nov 7, 2019
@calebcartwright calebcartwright added the 1x-backport:pending Fixed/resolved in source but not yet backported to a 1x branch and release label Oct 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1x-backport:pending Fixed/resolved in source but not yet backported to a 1x branch and release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants