We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d735e4 commit 4339952Copy full SHA for 4339952
src/libextra/num/bigint.rs
@@ -1620,7 +1620,7 @@ mod biguint_tests {
1620
#[test]
1621
fn test_rand() {
1622
let mut rng = task_rng();
1623
- rng.gen_bigint(137);
+ let n: BigUint = rng.gen_biguint(137);
1624
}
1625
1626
@@ -2056,7 +2056,7 @@ mod bigint_tests {
2056
2057
2058
2059
+ let n: BigInt = rng.gen_bigint(137);
2060
assert!(rng.gen_bigint(0).is_zero());
2061
2062
0 commit comments