Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information