diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-17 00:52:58 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-17 23:53:49 +1100 |
| commit | a96cea4f5a713eb357bde3d395c5453058be88c5 (patch) | |
| tree | 0b55ef8a568546b199679249b1701dd99c4042dc /src/libsyntax/parse | |
| parent | b7656d048feb828af12278a6028c17b0c86241b3 (diff) | |
| download | rust-a96cea4f5a713eb357bde3d395c5453058be88c5.tar.gz rust-a96cea4f5a713eb357bde3d395c5453058be88c5.zip | |
str: provide lossy UTF-16 support.
This replaces the iterator with one that handles lone surrogates gracefully and uses that to implement `from_utf16_lossy` which replaces invalid `u16`s with U+FFFD.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
