diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-10-07 10:15:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-07 10:15:53 -0500 |
commit | 86f31d0dc7d94f5c836380e22f2cdf0411dcb2a1 (patch) | |
tree | 215db0c037ee6e6344563220a492db51850db821 /components/script_traits/script_msg.rs | |
parent | a6e4b5bb86ad707a0863acff87344ca4239cfd2c (diff) | |
parent | ea97e9850b7388b9bd7d43cfaedddfa06af395ff (diff) | |
download | servo-86f31d0dc7d94f5c836380e22f2cdf0411dcb2a1.tar.gz servo-86f31d0dc7d94f5c836380e22f2cdf0411dcb2a1.zip |
Auto merge of #13634 - servo:bind-attempt-at-windows-fix, r=Ms2ger
Blind attempt to fix #13626
<!-- Please describe your changes on the following line: -->
The error message was:
```
error: unknown character escape: d
--> C:\projects\servo\target\debug\build\style-9b556a6c7bb4f044\out/properties.rs:44:55
|
44 | #[path="C:/projects/servo/components/style/properties\declaration_block.rs"]
|
```
Use `repr()` to get a Python string literal (whose character escaping is compatible enough with Rust’s) and `[1:-1]` to remove the single quotes.
---
<!-- 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 #13626 (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. -->
<!-- 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/13634)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script_traits/script_msg.rs')
0 files changed, 0 insertions, 0 deletions