You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd probably also want those groups to be seperated with blank lines (and I'd probably advocate for the order to be the other way around (so that the public API doesn't have imports in the middle of it).
But agreed, we should work with upstream to improve this.
We would like to use the
rustfmt
settinggroup_imports = "StdExternalCrate"
.The problem with it is that it mixes different visibility cases. As mentioned in the tracking thread:
At the moment, it produces the following kinds of use lists:
whereas it feels more natural for the sort order to be:
That is, sort by visibility then by item name.
The text was updated successfully, but these errors were encountered: