Skip to content

Commit 95483e3

Browse files
committed
auto merge of #12086 : huonw/rust/safe-json, r=kballard
The lexer and json were using `transmute(-1): char` as a sentinel value for EOF, which is invalid since `char` is strictly a unicode codepoint. Fixing this allows for range asserts on chars since they always lie between 0 and 0x10FFFF.
2 parents b2c1a81 + 5e2de79 commit 95483e3

File tree

4 files changed

+301
-256
lines changed

4 files changed

+301
-256
lines changed

0 commit comments

Comments
 (0)