Sfoglia il codice sorgente

Add imports for 128-bit Bounded

Josh Stone 7 anni fa
parent
commit
428e0107d2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 {