Skip to content

rustfmt should use natural sorting #4381

Closed
@jgarvin

Description

@jgarvin

Current behavior is to sort imports lexicographically:

use std::num::{NonZeroU16, NonZeroU8, NonZeroU32, NonZeroU64};

Natural sorting would be slightly nicer:

use std::num::{NonZeroU8, NonZeroU16, NonZeroU32, NonZeroU64};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions