From 2a3f2f060d24e6c7eee42bb046e90e56bee22050 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Thu, 19 Feb 2015 12:46:43 +1100 Subject: [PATCH] Fix test. --- src/bigint.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bigint.rs b/src/bigint.rs index 85c1eab..1098cdb 100644 --- a/src/bigint.rs +++ b/src/bigint.rs @@ -2522,7 +2522,7 @@ mod biguint_tests { assert!(((&one << 64) + one).is_odd()); } - fn to_str_pairs() -> Vec<(BigUint, Vec<(usize, String)>)> { + fn to_str_pairs() -> Vec<(BigUint, Vec<(u32, String)>)> { let bits = big_digit::BITS; vec!(( Zero::zero(), vec!( (2, "0".to_string()), (3, "0".to_string())