]> git.lizzy.rs Git - rust.git/commit
auto merge of #8186 : huonw/rust/hashmap-=rt, r=Aatch
authorbors <bors@rust-lang.org>
Sat, 3 Aug 2013 12:37:52 +0000 (05:37 -0700)
committerbors <bors@rust-lang.org>
Sat, 3 Aug 2013 12:37:52 +0000 (05:37 -0700)
commit6be014d23c178a69a5ce4b709cb3497a1e81a412
tree6962633ee17f67ab9ff64278e523fefc4e748ce6
parent2765811cb6530eb73c5450bd25e915e67bd512cf
parentc852a5bb681d08796959818470ed5233bfa69edc
auto merge of #8186 : huonw/rust/hashmap-=rt, r=Aatch

The `new` constructor uses the task-local RNG to retrieve seeds for the
two key values, which requires the runtime. Exposing a constructor that
takes the keys directly allows HashMaps to be used in programs that wish
to avoid the runtime.