Files
rust/src/libcore
bors 7d761fe046 Auto merge of #66322 - lzutao:consistent-result-map_or_else, r=dtolnay
Stabilize Result::map_or_else

Stabilized this API:
```rust
impl<T, E> Result<T, E> {
    pub fn map_or_else<U, D: FnOnce(E) -> U, F: FnOnce(T) -> U>(self, default: D, f: F) -> U {
        match self {
            Ok(t) => f(t),
            Err(e) => default(e),
        }
    }
}
```

Closes #53268
r? @SimonSapin
2019-11-24 07:37:01 +00:00
..
2019-11-23 07:06:27 +01:00
2019-11-21 14:55:32 +01:00
2019-11-12 16:36:57 -05:00
2019-11-12 16:36:57 -05:00
2019-10-12 15:18:17 +02:00
2019-09-25 08:42:46 -04:00
2019-11-13 09:31:08 +01:00
2019-11-21 14:55:32 +01:00
2019-09-25 08:42:46 -04:00
2018-12-25 21:08:33 -07:00
2019-11-21 14:55:32 +01:00
2019-11-21 14:55:32 +01:00
2019-11-12 16:36:57 -05:00
2019-11-12 16:36:57 -05:00
2019-04-18 14:47:35 +09:00
2019-04-18 14:47:35 +09:00