diff options
| author | blake2-ppc <blake2-ppc> | 2013-09-04 02:36:55 +0200 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2013-09-04 23:09:51 -0400 |
| commit | b153219556e20cb9f0e70c6a064cdfd10469ea32 (patch) | |
| tree | 9898ec0910efb8c595047bafcf4276510aeab8fd /src/libsyntax | |
| parent | b49e9fa794addc197e58743bdc120cb9740b73c0 (diff) | |
| download | rust-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')
0 files changed, 0 insertions, 0 deletions
