Closed epage closed 9 months ago
If we had ascii::Char
, we could replace bytes with that.
We could do a polyfill that tries to be a subset of ascii::Char
s API to reduce the chance of a breaking change when we switch to the feature (if it gets stabilized).
We support byte string tags and byte tokens with
&str
to allow parsers that are generic over both bytes and strings. The problem is this can lead to bugs.