@@ -16,9 +16,6 @@ A `BigUint` is represented as an array of `BigDigit`s.
1616A `BigInt` is a combination of `BigUint` and `Sign`.
1717*/
1818
19- #[ allow( missing_doc) ] ;
20- #[ allow( non_uppercase_statics) ] ;
21-
2219use std:: cmp:: { Eq , Ord , TotalEq , TotalOrd , Ordering , Less , Equal , Greater } ;
2320use std:: num;
2421use std:: num:: { Zero , One , ToStrRadix , FromStrRadix , Orderable } ;
@@ -48,7 +45,7 @@ pub type BigDigit = u32;
4845pub static ZERO_BIG_DIGIT : BigDigit = 0 ;
4946
5047pub mod BigDigit {
51- use bigint :: BigDigit ;
48+ use super :: BigDigit ;
5249
5350 #[ cfg( target_word_size = "32" ) ]
5451 pub static bits: uint = 16 ;
@@ -1433,8 +1430,8 @@ impl BigInt {
14331430
14341431#[cfg(test)]
14351432mod biguint_tests {
1436- use super::* ;
1437- use super::RandBigInt;
1433+ use super::{BigDigit, BigUint, ToBigUint} ;
1434+ use super::{Plus, BigInt, RandBigInt, ToBigInt} ;
14381435
14391436 use std::cmp::{Less, Equal, Greater};
14401437 use std::i64;
@@ -2090,8 +2087,8 @@ mod biguint_tests {
20902087
20912088#[ cfg( test) ]
20922089mod bigint_tests {
2093- use super :: * ;
2094- use super :: RandBigInt ;
2090+ use super :: { BigDigit , BigUint , ToBigUint } ;
2091+ use super :: { Sign , Minus , Zero , Plus , BigInt , RandBigInt , ToBigInt } ;
20952092
20962093 use std:: cmp:: { Less , Equal , Greater } ;
20972094 use std:: i64;
@@ -2591,7 +2588,7 @@ mod bigint_tests {
25912588
25922589#[ cfg( test) ]
25932590mod bench {
2594- use super :: * ;
2591+ use super :: { BigInt , BigUint } ;
25952592 use std:: iter;
25962593 use std:: mem:: replace;
25972594 use std:: num:: { FromPrimitive , Zero , One } ;
0 commit comments