Skip to content

Use Rustfmt Nightly #2365

@laralove143

Description

@laralove143

Rustfmt nightly has been pretty stable for me and it introduces rules that we're trying to apply manually, such as imports_granularity, so I think we could use it on the nightly channel to reduce inconsistencies and make PRs easier to make.

Here's a sample rustfmt.toml we could use that aligns with Rust's conventions while enabling nightly features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c-allAffects all crates or the project as a whole

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions