diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/hex.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/hex.go b/internal/hex.go index 9ef78eb..62a818f 100644 --- a/internal/hex.go +++ b/internal/hex.go @@ -6,7 +6,7 @@ package internal const Hex = "0123456789abcdef" -func HexToInt[T interface{ byte | rune }](c T) (byte, bool) { +func HexToInt(c rune) (byte, bool) { switch { case '0' <= c && c <= '9': return byte(c) - '0', true |