소스 검색

Add imports for 128-bit Bounded

Josh Stone 7 년 전
부모
커밋
428e0107d2
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 {