diff options
| author | bors <bors@rust-lang.org> | 2022-09-06 23:44:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-09-06 23:44:38 +0000 |
| commit | 7babd1b099ae89f3374f61beec4bcc3c2e6060f7 (patch) | |
| tree | f8658330d7d58c714b9e8f9f9992751d53989bf4 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | b763b14b2fa29d5b05373317606f27fdb9053302 (diff) | |
| parent | b21d9d307b5fdb1e423d786f9899757b42957b07 (diff) | |
| download | rust-7babd1b099ae89f3374f61beec4bcc3c2e6060f7.tar.gz rust-7babd1b099ae89f3374f61beec4bcc3c2e6060f7.zip | |
Auto merge of #9421 - xphoniex:fix-#9420, r=giraffate
Suggest `unwrap_or_default` when closure returns `"".to_string` Closes https://github.com/rust-lang/rust-clippy/issues/9420 changelog: [`unwrap_or_else_default`]: suggest `unwrap_or_default()` instead of `unwrap_or_else` with a closure that returns an empty `to_string`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
