Closed kaspar030 closed 1 year ago
This PR implements parsing integer literals as both decimal and hex (1234 and 0x1234). It adds num_traits as dependency, but that's a very light one.
1234
0x1234
num_traits
Could you fix the two lints? Then we can merge this.
Done, and learned how to use strip_prefix(). :)
strip_prefix()
Great, thanks!
This PR implements parsing integer literals as both decimal and hex (
1234
and0x1234
).It addsnum_traits
as dependency, but that's a very light one.