diff options
| author | bors <bors@rust-lang.org> | 2020-12-08 13:58:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-12-08 13:58:15 +0000 |
| commit | 5e6e1e33a11d140a4d70f946730137f241224eb3 (patch) | |
| tree | 724ff496fa4e56a1252c65ffa34c32ff51c999f7 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 5019791e2d4ac67b4c5c56853600a02f4b84e515 (diff) | |
| parent | af9402af0f57607638294419b000f06a77da3014 (diff) | |
| download | rust-5e6e1e33a11d140a4d70f946730137f241224eb3.tar.gz rust-5e6e1e33a11d140a4d70f946730137f241224eb3.zip | |
Auto merge of #79817 - LingMan:if_map, r=lcnr
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`.
`@rustbot` modify labels +C-cleanup +T-compiler
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
