When working with optional value via `.and_then()`

and `.map()`

I often end up with `Option<Result<T>>`

, but I want to check the result and end up with `Option<T>`

or return from a function early.

Does `Option`

have a nice method for this? So far the shortest I know is:

```
let optional = if let Some(tmp) = optional {
Some(tmp?)
} else {
None
};
```

but I’d prefer something shorter like `optional.flip_inside_out()?`

.