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.
Resultshould also havemap_or_else(), likeOption(but the closure for theelsecase should also get theErras argument, like withunwrap_or_else).Both
OptionandResulthaveunwrap_or_elseandunwrap_or, so they should also both havemap_or_else.