aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/font_cache_thread.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-09-19 07:29:11 -0500
committerGitHub <noreply@github.com>2016-09-19 07:29:11 -0500
commit55e459ca991ea982ecbaacd901bfcb01bffa6be2 (patch)
tree5cbfdf64e3033bc54b30577a9e7a47046d8c08a9 /components/gfx/font_cache_thread.rs
parentfe426f65b912dc091d0349c167086e19c72bbd25 (diff)
parente2db4fe46661c85029b28da43ff18e62099050c9 (diff)
downloadservo-55e459ca991ea982ecbaacd901bfcb01bffa6be2.tar.gz
servo-55e459ca991ea982ecbaacd901bfcb01bffa6be2.zip
Auto merge of #13319 - emilio:constellation-refactoring, r=Ms2ger
constellation: Minor refactoring to aid legibility. <!-- Please describe your changes on the following line: --> --- <!-- 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 <!-- Either: --> - [x] These changes do not require tests because refactor only <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Two things changed, on one hand, avoid a dumb if chain that could be more idiomatically written with a match expression, and also avoiding use map() to change state. In general I'm pretty surprised for our lack of error reporting in this critical code, but that's not the purpose of this PR. <!-- 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/13319) <!-- Reviewable:end -->
Diffstat (limited to 'components/gfx/font_cache_thread.rs')
0 files changed, 0 insertions, 0 deletions