mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
ceddf34b2e
Extend example for the `unneeded_field_pattern` lint Current example is incorrect (or pseudo-code) because a struct name is omitted. I have used the code from the tests instead. Perhaps this example can be made less verbose, but I think it is more convenient to see a "real" code as an example. --- changelog: extend example for the `unneeded_field_pattern` lint |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |