diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-03-23 23:15:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-23 23:15:51 -0400 |
commit | 5a432eaad33f36591f62c3d2671ffd9956be3594 (patch) | |
tree | 16f52f3fc3dac9f234963f460af776af801589a6 /components/script/dom/webglrenderingcontext.rs | |
parent | 1fda5d6a5a7dabbd80bc9efdedaadfeb9bf9e93a (diff) | |
parent | b42e54f13fa544fffa1984ff172561785683b615 (diff) | |
download | servo-5a432eaad33f36591f62c3d2671ffd9956be3594.tar.gz servo-5a432eaad33f36591f62c3d2671ffd9956be3594.zip |
Auto merge of #20404 - MaximilianDauner:issue_20392, r=jdm
GamepadButtonList::sync_from_vr should use more iterators #20392
<!-- Please describe your changes on the following line: -->
Used the zip function instead of iterating over both vectors with an indexing variable and using unwrap.
---
<!-- 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 #20392(github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it says in the issue description no need for tests
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- 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/20404)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
0 files changed, 0 insertions, 0 deletions