diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2025-03-25 17:34:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-25 17:34:00 +0000 |
| commit | 1893e1e5e794b04fccf77e1d2b810f99cd9db4a0 (patch) | |
| tree | 06569ccf08f0b419252e2fd5b5942044d489dd31 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | a001ae3be8c1ee8cbb6b5a3452937cdcc3c52a0c (diff) | |
| parent | 94233fb0ee1a683d076d933aa2c8f77c8cd9f66c (diff) | |
| download | rust-1893e1e5e794b04fccf77e1d2b810f99cd9db4a0.tar.gz rust-1893e1e5e794b04fccf77e1d2b810f99cd9db4a0.zip | |
Unify `manual_unwrap_or` and `manual_unwrap_or_default` code (#14332)
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. Close #12956 changelog: none
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
