about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2014-02-17 00:52:58 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2014-02-17 23:53:49 +1100
commita96cea4f5a713eb357bde3d395c5453058be88c5 (patch)
tree0b55ef8a568546b199679249b1701dd99c4042dc /src/libsyntax/parse/parser.rs
parentb7656d048feb828af12278a6028c17b0c86241b3 (diff)
downloadrust-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/parser.rs')
0 files changed, 0 insertions, 0 deletions