diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-03-01 17:53:49 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-03-25 18:03:41 +0100 |
| commit | 94233fb0ee1a683d076d933aa2c8f77c8cd9f66c (patch) | |
| tree | 06569ccf08f0b419252e2fd5b5942044d489dd31 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | a001ae3be8c1ee8cbb6b5a3452937cdcc3c52a0c (diff) | |
| download | rust-94233fb0ee1a683d076d933aa2c8f77c8cd9f66c.tar.gz rust-94233fb0ee1a683d076d933aa2c8f77c8cd9f66c.zip | |
Unify `manual_unwrap_or` and `manual_unwrap_or_default` code
Both lints share a lot of characteristics but were implemented in unrelated ways. This unifies them, saving around 100 SLOC in the process, and making one more test trigger the lint. Also, this removes useless blocks in suggestions.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
