Closed
Bug 1648384
Opened 5 years ago
Closed 5 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•5 years ago
|
Component: MFBT → Launcher Process
OS: Unspecified → Windows
Product: Core → Firefox
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by sgiesecke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0acc9e36ffad
Make use of Result::propagateErr. r=mhowell
Comment 3•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 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
•