Skip to content

Sort the first group in StdExternalCrate import grouping by their subset relation #6548

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MonterraByte
Copy link

Closes #6290.

…set relation

`core` is a subset of `alloc`, and `alloc` is a subset of `std`.
This changes the ordering logic so that imports from `core` are placed
first, imports from `alloc` second, and imports from `std` last.
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.

prefer core-alloc-std to alloc-core-std when reordering standard libraries imports
2 participants