3 ms·
Panicking on parsing corrupted data seem like a feature to me... It's like the default rule in a lexer, if it ever gets to it then it's an unrecognized charact
by UncleEntity 8y ago
Panicking on parsing corrupted data seem like a feature to me...
It's like the default rule in a lexer, if it ever gets to it then it's an unrecognized character and lexing stops so error handling can proceed.
--edit--
Which I now realize was probably your point.