diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2020-12-08 02:40:14 +0100 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2020-12-08 02:40:14 +0100 |
| commit | af9402af0f57607638294419b000f06a77da3014 (patch) | |
| tree | fe7378af575afacf2068bade0a11c33a35ee1efb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 3d6705aa5abffe94c83bf09af8c3ba3c599845fc (diff) | |
| download | rust-af9402af0f57607638294419b000f06a77da3014.tar.gz rust-af9402af0f57607638294419b000f06a77da3014.zip | |
Replace simple `if let` constructs with Option::map
Replaces a few constructs of the form
if let Some(x) = var {
Some(...)
} else {
None
}
with calls to Option::map.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
