diff options
| author | bors <bors@rust-lang.org> | 2020-09-10 14:11:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-10 14:11:27 +0000 |
| commit | 55efa966594cd375b6bace6c0b4481108806d8a2 (patch) | |
| tree | b7f7159f7ad13452213cc1d86a1c788f52336c2b /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 0e9769e78794cfc07f9774ffffd05e962ee3874f (diff) | |
| parent | b220ddf146f4c11011b2e1b7f37ecb8e5485555b (diff) | |
| download | rust-55efa966594cd375b6bace6c0b4481108806d8a2.tar.gz rust-55efa966594cd375b6bace6c0b4481108806d8a2.zip | |
Auto merge of #5931 - montrivo:unit-arg, r=flip1995
improve the suggestion of the lint `unit-arg` Fixes #5823 Fixes #6015 Changes ``` help: move the expression in front of the call... | 3 | g(); | help: ...and use a unit literal instead | 3 | o.map_or((), |i| f(i)) | ``` into ``` help: move the expression in front of the call and replace it with the unit literal `()` | 3 | g(); | o.map_or((), |i| f(i)) | ``` changelog: improve the suggestion of the lint `unit-arg`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
