rust-random / rand

A Rust library for random number generation.
https://crates.io/crates/rand
Other
1.6k stars 423 forks source link

Apply rustfmt and fix Clippy warnings #1448

Closed newpavlov closed 1 month ago

newpavlov commented 1 month ago

Closes #1429

newpavlov commented 1 month ago

I suggest to also remove rustfmt.toml. Arguably, improvements in formatting are relatively minor (and even that can be debatable in certain cases) and it's more advantageous to adhere to the standard config. For particularly bad cases we can use #[rustfmt::skip].

dhardy commented 1 month ago

I suggest to also remove rustfmt.toml

It certainly needs reviewing — removing is acceptable.