microsoft / windows-rs

Rust for Windows
https://kennykerr.ca/rust-getting-started/
Apache License 2.0
10.36k stars 486 forks source link

Fix default `rustfmt` for repo #3084

Closed kennykerr closed 3 months ago

kennykerr commented 3 months ago

While investigating the test stability (#3072, #3079) I noticed that #3064 regressed the rustfmt for the repo. The repo must use "Unix" style line endings to avoid all kinds of diff/merge issues with git but #3064 removed the repo-wide rustfmt.toml configuration file. This just reinstates this default formatting for all code in the repo.