rustc-serialize
rustc-serialize copied to clipboard
Make escape_char safe
Was pointed out on HN, probably worth fixing.
There are two other cases of unchecked string stuff where the string is built via ASCII bytes.
I do think that we should just replace those with .push()
of chars. But given that this library is deprecated I don't care much.