We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db0a13b commit 3896d46Copy full SHA for 3896d46
src/libstd/trie.rs
@@ -462,7 +462,7 @@ mod tests {
462
m.insert(x, x / 2);
463
}
464
465
- let mut n = uint::max_value - 9999;
+ let mut n = uint::max_value - 10000;
466
for m.each |k, v| {
467
if n == uint::max_value - 5000 { break }
468
assert!(n < uint::max_value - 5000);
@@ -499,7 +499,7 @@ mod tests {
499
500
501
502
- let mut n = uint::max_value;
+ let mut n = uint::max_value - 1;
503
for m.each_reverse |k, v| {
504
505
assert!(n > uint::max_value - 5000);
0 commit comments