diff options
| author | Stanislav Tkach <stanislav.tkach@gmail.com> | 2020-04-28 12:08:38 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-28 12:08:38 +0300 |
| commit | 1afb6e6e3b23bd5555f34cc4dcd20349dfd789de (patch) | |
| tree | 3b359532d789870a660cbe34e131e51c8cdc911c /src/test/codegen/src-hash-algorithm | |
| parent | 2c4d5661137933dfe93c03b0f9e514d97bafdada (diff) | |
| download | rust-1afb6e6e3b23bd5555f34cc4dcd20349dfd789de.tar.gz rust-1afb6e6e3b23bd5555f34cc4dcd20349dfd789de.zip | |
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
