Skip to content

cargo fmt does not do anything in tokio repo #4078

@Diggsey

Description

@Diggsey

I found this problem locally and wondered how tokio was checking formatting in CI.

As you can see they are calling rustfmt directly:
https://github.com/tokio-rs/tokio/blob/master/ci/azure-rustfmt.yml#L17

This comment links to a cargo issue:
rust-lang/cargo#7732

However, this cargo issue is closed and it's not clear how it's related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macrosArea: macros (procedural macros, macro_rules! macros, etc.)A-modsArea: module resolution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions