Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMake ServoParser store a VecDeque for its pending input #13690
Closed
Comments
|
Please make a comment here if you intend to work on this issue. Thank you! |
|
Ok I'd like to take a pass :) |
|
Sure! Be sure to wait for #13675 to land or at least to base your work on top of it. |
|
@nox cheers |
bors-servo
added a commit
that referenced
this issue
Oct 16, 2016
switch to using DOMRefCell<VeqDeque<String>> for ServoParser::pending… <!-- Please describe your changes on the following line: --> The field ServoParser::pending_input should be a DOMRefCell<VeqDeque<String>>, this lets us use VecDeque::pop_front instead of Vec::remove in ServoParser::take_next_input_chunk. --- <!-- 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 #13690 (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. --> …_input <!-- 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/13785) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One should wait for #13675 to land first.
The field
ServoParser::pending_inputshould be aDOMRefCell<VeqDeque<String>>, this lets us useVecDeque::pop_frontinstead ofVec::removeinServoParser::take_next_input_chunk.Files: