Closed
Bug 1648384
Opened 6 years ago
Closed 6 years ago
Use Result::propagateErr where appropriate
Categories
(Firefox :: Launcher Process, task)
Tracking
()
RESOLVED
FIXED
Firefox 79
| Tracking | Status | |
|---|---|---|
| firefox79 | --- | fixed |
People
(Reporter: sg, Assigned: sg)
Details
Attachments
(1 file)
Code doing
return Err(someResult.unwrapErr()); can be simplified to someResult.propagateErr(); where someResult and the function's return type have the same error type, but different value types.
| Assignee | ||
Updated•6 years ago
|
Component: MFBT → Launcher Process
OS: Unspecified → Windows
Product: Core → Firefox
| Assignee | ||
Comment 1•6 years ago
|
||
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0acc9e36ffad
Make use of Result::propagateErr. r=mhowell
Comment 3•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
You need to log in
before you can comment on or make changes to this bug.
Description
•