]> git.lizzy.rs Git - rust.git/commit
Add `isize` and `usize` constructors to Literal
authorAlex Crichton <alex@alexcrichton.com>
Thu, 6 Jul 2017 22:20:01 +0000 (15:20 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 6 Jul 2017 22:20:01 +0000 (15:20 -0700)
commit28ce2924f15983ad31c44cc432aa17f217c3a131
tree927c37ac3d1419f8bb3859493689f6e81cfb3468
parent4d526e0d14b43a87627cd6aca6c6f71ad1e07b6e
Add `isize` and `usize` constructors to Literal

This commit fills out the remaining integer literal constructors on the
`proc_macro::Literal` type with `isize` and `usize`. (I think these were just
left out by accident)
src/libproc_macro/lib.rs