Closed
Description
Result
should also have map_or_else()
, like Option
(but the closure for the else
case should also get the Err
as argument, like with unwrap_or_else
).
Both Option
and Result
have unwrap_or_else
and unwrap_or
, so they should also both have map_or_else
.