bigint, rational: use std::hash only for testing
This commit is contained in:
parent
529d7634dd
commit
21a328ad6d
|
@ -79,6 +79,7 @@ use std::num::ParseIntError;
|
||||||
use std::ops::{Add, BitAnd, BitOr, BitXor, Div, Mul, Neg, Rem, Shl, Shr, Sub};
|
use std::ops::{Add, BitAnd, BitOr, BitXor, Div, Mul, Neg, Rem, Shl, Shr, Sub};
|
||||||
use std::str::{self, FromStr};
|
use std::str::{self, FromStr};
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
#[cfg(test)]
|
||||||
use std::hash;
|
use std::hash;
|
||||||
use std::cmp::Ordering::{self, Less, Greater, Equal};
|
use std::cmp::Ordering::{self, Less, Greater, Equal};
|
||||||
use std::{f32, f64};
|
use std::{f32, f64};
|
||||||
|
|
|
@ -21,6 +21,7 @@ extern crate num_integer as integer;
|
||||||
use std::cmp;
|
use std::cmp;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
use std::fmt;
|
use std::fmt;
|
||||||
|
#[cfg(test)]
|
||||||
use std::hash;
|
use std::hash;
|
||||||
use std::ops::{Add, Div, Mul, Neg, Rem, Sub};
|
use std::ops::{Add, Div, Mul, Neg, Rem, Sub};
|
||||||
use std::str::FromStr;
|
use std::str::FromStr;
|
||||||
|
|
Loading…
Reference in New Issue