Skip to content

Formatting is still inconsistent despite rust-toolchain.toml #956

@spacebear21

Description

@spacebear21

Other contributors have ran into formatting issues despite the rust-toolchain.toml enforcing the nightly toolchain. Most recently @bc1cindy confirmed that cargo fmt applies a bunch of formatting changes to the master branch despite this output of rustup show:

Default host: aarch64-apple-darwin
     rustup home:  /Users/cindyvicentino/.rustup

     installed toolchains
     --------------------
     stable-aarch64-apple-darwin (default)
     nightly-aarch64-apple-darwin (active)

     active toolchain
     ----------------
     name: nightly-aarch64-apple-darwin
     active because: overridden by '/Users/cindyvicentino/dev/rust-payjoin/rust-toolchain.toml'
     installed targets:
       aarch64-apple-darwin

I wonder if we need to be more explicit about the specific nightly version, or maybe even add a rustfmt.toml?

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