diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-03-03 13:36:40 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-03 13:36:40 -0800 |
commit | b4d7ed7351068c4655a423b4ca835aab4e8f3c39 (patch) | |
tree | b96e71a799d26e810efd7be42356b7b8a633b6c8 /python/tidy/servo_tidy_tests | |
parent | 3ca6ee2f7fc7cb5eda2930a66f854be05c4e5567 (diff) | |
parent | afd3030af3c2416d91b14094c65e62a6081fdbdb (diff) | |
download | servo-b4d7ed7351068c4655a423b4ca835aab4e8f3c39.tar.gz servo-b4d7ed7351068c4655a423b4ca835aab4e8f3c39.zip |
Auto merge of #15815 - crypto-universe:master, r=KiChjang
Use more idiomatic or_else construction
<!-- Please describe your changes on the following line: -->
or_else in more ideomatic rust construction than
match, where Some(x) => Some(x)
---
<!-- 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 #15812 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- 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/15815)
<!-- Reviewable:end -->
Diffstat (limited to 'python/tidy/servo_tidy_tests')
0 files changed, 0 insertions, 0 deletions