You might also be interested in this (very old) thread: Something for coalescing; aka generalized/improved `or_else`
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Pre-RFC: Overload Short Curcuits | 101 | 4876 | October 9, 2019 | |
Feature request: Implement OR for Option and possibly Result | 14 | 702 | August 27, 2024 | |
How about a new operator? | 14 | 2387 | December 24, 2022 | |
[Feature Request] Unwrap nested options when return type is Result | 10 | 1287 | December 25, 2022 | |
The `?` operator and a `Carrier` trait | 44 | 12527 | March 25, 2019 |