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

Implement One option for imports_granularity (#4669) (Repeat PR) #4973

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

irh
Copy link

@irh irh commented Aug 31, 2021

Somehow the merge of #4680 didn't work out, and the commit doesn't appear in the history of the current master branch.

My guess is that this wasn't intended, and the expectation was that the new One option would become available, so this PR contains the original commit cherry-picked onto the latest master, with no changes.

@calebcartwright @magurotuna FYI.

This option merges all imports into a single `use` statement as long as
they have the same visibility.
@calebcartwright
Copy link
Member

Somehow the merge of #4680 didn't work out, and the commit doesn't appear in the history of the current master branch.

#4680 was targeting the experimental 2.0 version of rustfmt which has never been released. We were previously tracking that experimental version on the default branch, but decided to stop doing that to increase focus on the main 1.x version of rustfmt that actually is released and supported, refs #4801

It's not that the merge "didn't work out", it's just that it had yet to be pulled into the 1.x mainline so thank you for this backport!

@irh
Copy link
Author

irh commented Aug 31, 2021

Ohhh that explains it, thanks!

Copy link
Member

@calebcartwright calebcartwright left a comment

Choose a reason for hiding this comment

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

Thank you!

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.

3 participants