Skip to content

Conversation

@IceSentry
Copy link
Contributor

@IceSentry IceSentry commented Apr 13, 2020

This fixes the bug when merging imports from the second line when it already has a comma it would previously insert a comma.

There's probably a better way to check for a COMMA.

This also ends up with a weird indentation, but rust-fmt can easily deal with it so I'm not sure how to resolve that.

Closes #3832

This fixes the a bug when merging imports from the second line when it already has a comma it would previously insert a comma.

There's probably a better way to check for a COMMA. 

This also ends up with a weird indentation, but rust-fmt can easily deal with it so I'm not sure how to resolve that.

Closes rust-lang#3832
@edwin0cheng
Copy link
Contributor

bors r+

Thanks!

@bors
Copy link
Contributor

bors bot commented Apr 13, 2020

@bors bors bot merged commit c82e769 into rust-lang:master Apr 13, 2020
@IceSentry IceSentry deleted the fix-double-comma branch April 13, 2020 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge import double comma

2 participants