-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue4484 to js val convertible for str #4496
Issue4484 to js val convertible for str #4496
Conversation
Critic review: https://critic.hoppipolla.co.uk/r/3604 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @jdm (or someone else) soon. |
@yodalee: thanks! I reviewed on Critic; just one nit. |
4d82582
to
3647ed3
Compare
Fix, I amend the last commit. |
3647ed3
to
0ba9936
Compare
CI said it has merge conflicts, should I rebase this branch to newest master? |
Please do, thanks. |
0ba9936
to
2509da0
Compare
rebase done |
@yodalee: looks good, except that you changed the 4-space indentation back to 2-space indentation (as it was when you first created the PR) in |
xmlhttprequest.rs, CodegenRust.py replace into_string().to_jsval() to to_jsval() conversions.rs DOMString to_jsval() use as_slice().tojsval() now
2509da0
to
bb087c2
Compare
My fault, fix now. |
Thanks! |
…str, r=jdm #4484 Add ToJSValConvertible trait to str type.
Rust blow up O口O |
…str, r=jdm #4484 Add ToJSValConvertible trait to str type.
#4484
Add ToJSValConvertible trait to str type.