-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Tracking issue for Result::map_or_else #53268
Copy link
Copy link
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.