about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-09-04 02:36:55 +0200
committerDaniel Micay <danielmicay@gmail.com>2013-09-04 23:09:51 -0400
commitb153219556e20cb9f0e70c6a064cdfd10469ea32 (patch)
tree9898ec0910efb8c595047bafcf4276510aeab8fd /src/libsyntax/parse
parentb49e9fa794addc197e58743bdc120cb9740b73c0 (diff)
downloadrust-b153219556e20cb9f0e70c6a064cdfd10469ea32.tar.gz
rust-b153219556e20cb9f0e70c6a064cdfd10469ea32.zip
std::str: Deny surrogates in is_utf8
Reject codepoints \uD800 to \uDFFF which are the surrogates
(reserved/unused codepoints that are invalid to encode into UTF-8)

The surrogates is the only hole of invalid codepoints in the range from
\u0 to \u10FFFF.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions