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 upreplace vector iteration by ascii_case_insensitive_phf_map #17754
Conversation
highfive
commented
Jul 17, 2017
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon. |
highfive
commented
Jul 17, 2017
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jul 17, 2017
|
Looks good, thanks! @bors-servo r+ |
|
|
replace vector iteration by ascii_case_insensitive_phf_map <!-- Please describe your changes on the following line: --> --- <!-- 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 #15994 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/17754) <!-- Reviewable:end -->
|
|
error[E0308]: mismatched types
--> /Users/servo/buildbot/slave/mac-dev-unit/build/target/geckolib/debug/build/style-8e72fa08530fa207/out/properties.rs:19775:49
|
19775 | if let Some(color) = color_name(ident) {
| ^^^^^ expected &str, found struct `cssparser::CompactCowStr`
|
= note: expected type `&str`
found type `cssparser::CompactCowStr<'_>`
= help: here are some functions which might fulfill your needs:
- .trim()
- .trim_left()
- .trim_right()
error[E0308]: mismatched types
--> /Users/servo/buildbot/slave/mac-dev-unit/build/target/geckolib/debug/build/style-8e72fa08530fa207/out/properties.rs:19776:24
|
19776 | Ok(color)
| ^^^^^ expected enum `gecko_bindings::structs::root::mozilla::LookAndFeel_ColorID`, found reference
|
= note: expected type `gecko_bindings::structs::root::mozilla::LookAndFeel_ColorID`
found type `&gecko_bindings::structs::root::mozilla::LookAndFeel_ColorID`
error: aborting due to 2 previous errors
error: Could not compile `style`.Try |
82c8dd9
to
f3843ed
f3843ed
to
6a2f84e
|
@bors-servo r+ |
|
@SergeevPavel: |
|
@bors-servo: r=SimonSapin |
|
|
replace vector iteration by ascii_case_insensitive_phf_map <!-- Please describe your changes on the following line: --> --- <!-- 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 #15994 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/17754) <!-- Reviewable:end -->
|
thank for help |
Thank you! |
|
|
SergeevPavel commentedJul 17, 2017
•
edited
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is