diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-03-21 18:18:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 18:18:55 -0400 |
commit | 4e26212d5e661b21392f59bdbe5518d047fe0531 (patch) | |
tree | f2a7076e8c1c87dcb72972ec42eee599356384c5 /components/script/docs/JS-Servos-only-GC.md | |
parent | 1c2bed5a6909268c85d61ec73b2ab63602294eb1 (diff) | |
parent | c8592ead6fc3b957f7e7ef0f93d7c1bec6266ca5 (diff) | |
download | servo-4e26212d5e661b21392f59bdbe5518d047fe0531.tar.gz servo-4e26212d5e661b21392f59bdbe5518d047fe0531.zip |
Auto merge of #20368 - kwonoj:refactor-counter-style, r=emilio
refactor(counter_style): parse int via parse_non_negative
<!-- Please describe your changes on the following line: -->
Relates to #20332.
This PR intends to refactor `counter_style` to use `parse_non_negative` where applicable, mostly which uses `expect_integer` currently. Change still grabs value from parsed result then assign it into each struct as needed and does not change definition of struct (i.e `AdditiveTuple`) itself.
---
<!-- 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 #20332 (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
- This PR has locally built & ran unit test on macOS.
<!-- 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/20368)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/docs/JS-Servos-only-GC.md')
0 files changed, 0 insertions, 0 deletions