rustc-serialize icon indicating copy to clipboard operation
rustc-serialize copied to clipboard

Make escape_char safe

Open Manishearth opened this issue 7 years ago • 0 comments

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.

Manishearth avatar May 05 '17 21:05 Manishearth