diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-08-28 05:16:03 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-08-28 05:16:03 -0600 |
commit | 2ca48ca4047e83e69abf1fad6978de46ef11c3a7 (patch) | |
tree | 11f8f3097a3593dbbd22b96e8b78d14325b58442 /components/script/dom/formdata.rs | |
parent | 18de1f2357144d86ea83cd0cb66922e8a2157597 (diff) | |
parent | dcc8f63d52e9b1a91fda9af50b43533eb12e9568 (diff) | |
download | servo-2ca48ca4047e83e69abf1fad6978de46ef11c3a7.tar.gz servo-2ca48ca4047e83e69abf1fad6978de46ef11c3a7.zip |
Auto merge of #6854 - servo:slice_chars, r=jdm+Ms2ger
Remove usage of slice_chars in script
It’s deprecated in the #6850 rustup.
The first commit changes some behavior which was previously incorrect: the spec says indices in DOM strings are UTF-16 code units, not `char` code points.
The second commit should not change behavior, unless I made a mistake.
r? @jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6854)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/formdata.rs')
0 files changed, 0 insertions, 0 deletions