-
Notifications
You must be signed in to change notification settings - Fork 927
Support for use_nested_groups Feature #2544
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
We should decide what is the idiomatic way to
which was reformatted into:
The current output doesn't feel right to me; it's hard to skim the names etc, but I can see how rustfmt reached that point. I'm not sure if the style I was using is the "right" one, but I sort of like it: basically like having the first import (the crate) be special, and each line below is sort of like a use statement of its own. |
@nrc Should this be reopened, or should we open a new issue to discuss the formatting that @nikomatsakis mentioned above? |
@cramertj we should discuss on rust-lang/style-team#24 |
Now that rust-lang/rust#44494 has been stabilized, it would be nice to have a rustfmt option to reformat all imports into the
use_nested_groups
format.The text was updated successfully, but these errors were encountered: