Эх сурвалжийг харах

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

Vincent Esche 7 жил өмнө
parent
commit
234706fb97
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  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);