bigint, rational: use std::hash only for testing

This commit is contained in:
Josh Stone 2016-03-25 16:29:19 -07:00
parent 529d7634dd
commit 21a328ad6d
2 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,7 @@ use std::num::ParseIntError;
use std::ops::{Add, BitAnd, BitOr, BitXor, Div, Mul, Neg, Rem, Shl, Shr, Sub};
use std::str::{self, FromStr};
use std::fmt;
#[cfg(test)]
use std::hash;
use std::cmp::Ordering::{self, Less, Greater, Equal};
use std::{f32, f64};

View File

@ -21,6 +21,7 @@ extern crate num_integer as integer;
use std::cmp;
use std::error::Error;
use std::fmt;
#[cfg(test)]
use std::hash;
use std::ops::{Add, Div, Mul, Neg, Rem, Sub};
use std::str::FromStr;