From bc19c3493459382660e5fb31fdb25e6dfb666328 Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Mon, 9 Apr 2018 11:10:45 +0200 Subject: [PATCH] Added impls of `PrimInt` for `i128` and `u128` --- src/int.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/int.rs b/src/int.rs index 84fedc6..4f4d0b9 100644 --- a/src/int.rs +++ b/src/int.rs @@ -368,9 +368,13 @@ prim_int_impl!(u8, i8, u8); prim_int_impl!(u16, i16, u16); prim_int_impl!(u32, i32, u32); prim_int_impl!(u64, i64, u64); +#[cfg(feature = "i128")] +prim_int_impl!(u128, i128, u128); prim_int_impl!(usize, isize, usize); prim_int_impl!(i8, i8, u8); prim_int_impl!(i16, i16, u16); prim_int_impl!(i32, i32, u32); prim_int_impl!(i64, i64, u64); +#[cfg(feature = "i128")] +prim_int_impl!(i128, i128, u128); prim_int_impl!(isize, isize, usize);