rust/compiler
bors 5e6e1e33a1 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
2020-12-08 13:58:15 +00:00
..
2020-12-03 09:50:10 -08:00
2020-12-06 20:30:07 +00:00
2020-12-05 12:59:54 +01:00
2020-12-03 17:08:19 -05:00
2020-12-07 15:52:59 +01:00
2020-12-03 17:08:19 -05:00
2020-12-03 09:50:10 -08:00