Fix imports
This commit is contained in:
parent
c1ebca38ec
commit
e4591f5847
|
@ -596,6 +596,7 @@ final class Parser
|
||||||
// Any hex digits are 1-byte so this works.
|
// Any hex digits are 1-byte so this works.
|
||||||
char[] hex = oldValue[0 .. hexLength];
|
char[] hex = oldValue[0 .. hexLength];
|
||||||
oldValue = oldValue[hexLength .. $];
|
oldValue = oldValue[hexLength .. $];
|
||||||
|
import std.ascii : isHexDigit;
|
||||||
assert(!hex.canFind!(d => !d.isHexDigit),
|
assert(!hex.canFind!(d => !d.isHexDigit),
|
||||||
"Scanner must ensure the hex string is valid");
|
"Scanner must ensure the hex string is valid");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue