Closed Bug 1659660 Opened 4 years ago Closed 4 years ago

Improve documentation and testing for mozilla::Result::map and mozilla::Result::mapErr

Categories

(Core :: MFBT, task, P2)

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: janv, Assigned: janv)

Details

Attachments

(1 file)

The documentation is not correct in several places and testing for mapErr is missing completely.
I want to do this before I propose to add mapErrTo which would be able to transform a specific error to success.

Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b69e256013a3
Improve documentation and testing for mozilla::Result::map and mozilla::Result::mapErr; r=froydnj,dom-workers-and-storage-reviewers,sg
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b88e7ec74c5a
Improve documentation and testing for mozilla::Result::map and mozilla::Result::mapErr; r=froydnj,dom-workers-and-storage-reviewers,sg
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: