Skip to content

Feature list is not formatted #89

@koalatux

Description

@koalatux

Assuming the following dependency in a Cargo.toml file with inconsistent white spaces within the square brackets:

tokio = { version = "1.43.0", features = [ "rt", "sync"] }

I would expect cargo-sort to format it to the following:

tokio = { version = "1.43.0", features = ["rt", "sync"] }

But it does not re-format it and keeps the extra space.

cargo-sort version used: 1.0.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions