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.
2 parents 3e9c95e + c75e59a commit 77f2aacCopy full SHA for 77f2aac
src/libcore/hashmap.rs
@@ -62,7 +62,7 @@ pub mod linear {
62
63
pub fn linear_map_with_capacity<K: Eq Hash, V>(
64
initial_capacity: uint) -> LinearMap<K, V> {
65
- let r = rand::Rng();
+ let r = rand::task_rng();
66
linear_map_with_capacity_and_keys(r.gen_u64(), r.gen_u64(),
67
initial_capacity)
68
}
0 commit comments