Explorar o código

Add imports for 128-bit Bounded

Josh Stone %!s(int64=7) %!d(string=hai) anos
pai
achega
428e0107d2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/bounds.rs

+ 2 - 0
src/bounds.rs

@@ -2,6 +2,8 @@ use core::{usize, u8, u16, u32, u64};
 use core::{isize, i8, i16, i32, i64};
 use core::{f32, f64};
 use core::num::Wrapping;
+#[cfg(feature = "i128")]
+use core::{i128, u128};
 
 /// Numbers which have upper and lower bounds
 pub trait Bounded {