From 746db74dac25b9cb672d42a522f815128da5a378 Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Tue, 10 Apr 2018 10:39:57 +0200 Subject: [PATCH] Added impls of `Unsigned` for `i128` and `u128` --- src/sign.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sign.rs b/src/sign.rs index 71b11ee..25da00f 100644 --- a/src/sign.rs +++ b/src/sign.rs @@ -186,6 +186,8 @@ macro_rules! empty_trait_impl { } empty_trait_impl!(Unsigned for usize u8 u16 u32 u64); +#[cfg(feature = "i128")] +empty_trait_impl!(Unsigned for u128 i128); impl Unsigned for Wrapping where Wrapping: Num {}