mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
c72c914d21
New lint: detect unnecessary struct building Fixes #10476. Running this lint on the top 500 crates produced one hit (in `rust-lang/rust-bindgen`) and [a PR has been submitted there](https://github.com/rust-lang/rust-bindgen/pull/2440). changelog: [`unnecessary_struct_initialization`]: new lint |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |