commit | 1a16c7865940f0ff63eb5ddb946c65bfe485a352 | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Wed Jul 05 18:06:36 2017 -0700 |
committer | Alex Crichton <alex@alexcrichton.com> | Wed Jul 05 18:06:36 2017 -0700 |
tree | 66f764d4b5726c07cfe20294792e2eecd0774d66 | |
parent | f8ec9c2a7b379af4d708336b52b364a00bda9677 [diff] [blame] |
Expose isize/usize constructors of `Literal`
diff --git a/src/lib.rs b/src/lib.rs index 734744e..b7dd21a 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -188,8 +188,8 @@ } int_literals! { - u8, u16, u32, u64, /*usize*/ - i8, i16, i32, i64, /*isize,*/ + u8, u16, u32, u64, usize, + i8, i16, i32, i64, isize, } pub fn float(f: f64) -> Literal {