Skip to content

order stacks of imports and/or pub mod delcarations #298

Closed
@softprops

Description

@softprops

I'm looking to apply rustfmt to a couple projects. So far my experience is good except for one surprise when I opt to order my imports it seems like the ordering only applies to a single line of imports, those within brackets. It would be nice to also have this order stacks of use declarations and for bonus points pub mod declarations. It this is not doable let me know. If it easy doable and you can point me in the right direction, also let me know. I'd love to contribute something like this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions