Skip to content

feat: place import statements at the top/bottom of the file #6623

@aspizu

Description

@aspizu

Currently, rustfmt will not change the position of import stmts if they are placed at the end.

Add an option to control this, move imports to the top/bottom automatically if enabled.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions