mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00

The `clippy::perf` lint group is fairly useful for catching bad practices that might hurt performance marginally. This PR fixes most of them except `clippy::large_enum_variant`, which doesn't feel right at this moment and need more researches. Anyway, overall this PR should be good.