Browse Source

Added impls of `Saturating…` for `i128` and `u128`

Vincent Esche 7 years ago
parent
commit
234706fb97
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/ops/saturating.rs

+ 2 - 0
src/ops/saturating.rs

@@ -26,3 +26,5 @@ macro_rules! saturating_impl {
 }
 
 saturating_impl!(Saturating for isize usize i8 u8 i16 u16 i32 u32 i64 u64);
+#[cfg(feature = "i128")]
+saturating_impl!(Saturating for i128 u128);