Skip to content

Commit d72ca65

Browse files
committed
auto merge of #6067 : catamorphism/rust/revert, r=catamorphism
See #6061. Reverting these commits fixes it; later we'll isolate the problem.
2 parents 64412ec + 472ea0b commit d72ca65

14 files changed

+247
-106
lines changed

src/libcore/hashmap.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ fn resize_at(capacity: uint) -> uint {
5656
pub fn linear_map_with_capacity<K:Eq + Hash,V>(
5757
initial_capacity: uint) -> HashMap<K, V> {
5858
let r = rand::task_rng();
59-
linear_map_with_capacity_and_keys(r.gen(), r.gen(),
59+
linear_map_with_capacity_and_keys((*r).gen_u64(), (*r).gen_u64(),
6060
initial_capacity)
6161
}
6262

0 commit comments

Comments
 (0)