diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-22 14:59:11 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-22 14:59:11 -0600 |
commit | bcf41844833e1818768f9d8ca73a931996617868 (patch) | |
tree | 3fb4a4b333eb26ccca9ceb161d5073b9b53c41d6 /python/servo/testing_commands.py | |
parent | 44d3eec88b935810d889db05522f1b59a2f23c39 (diff) | |
parent | dc7c1c62706d56d9e83c1edc665b95abd93181b8 (diff) | |
download | servo-bcf41844833e1818768f9d8ca73a931996617868.tar.gz servo-bcf41844833e1818768f9d8ca73a931996617868.zip |
Auto merge of #14296 - Wafflespeanut:either, r=emilio
Some generic impls for Either<Length, T>
<!-- Please describe your changes on the following line: -->
We seem to be using `parse_non_negative` a lot for `LengthOrFoo` types, so it's better to have generic impls (now, and in the future) for such things (assuming that `Length` will always be in the first variant of `Either`).
---
<!-- 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 it's a refactor
<!-- 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/14296)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo/testing_commands.py')
0 files changed, 0 insertions, 0 deletions