aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/blob_loader.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-10-13 16:40:16 -0500
committerGitHub <noreply@github.com>2016-10-13 16:40:16 -0500
commit3e12af581585b7ff988ab6ab9f3323f210b67dd1 (patch)
tree93a3e8d78d3f8c9b8584237f53949caf5166711a /components/net/blob_loader.rs
parent781a0771458de73d2f843377082a6961c38fb66d (diff)
parentf064d9ad838e499161599953ef4048d93cfeb43c (diff)
downloadservo-3e12af581585b7ff988ab6ab9f3323f210b67dd1.tar.gz
servo-3e12af581585b7ff988ab6ab9f3323f210b67dd1.zip
Auto merge of #13755 - fhartwig:early-return, r=KiChjang
Invert conditional and return early from report_pending_exception <!-- Please describe your changes on the following line: --> Previously, almost the entire body of `report_pending_exception` was in a conditional branch. We now return early if the function body does not need to be executed. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #13746 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because they don't add any new functionality. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13755) <!-- Reviewable:end -->
Diffstat (limited to 'components/net/blob_loader.rs')
0 files changed, 0 insertions, 0 deletions