diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-08-01 18:11:25 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-08-03 21:00:32 +1000 |
| commit | c852a5bb681d08796959818470ed5233bfa69edc (patch) | |
| tree | d4f27652e955076c7bc8c0030b1580b24c872489 /src/rt/sync/timer.cpp | |
| parent | 39fafd655a85a2af9cddf59b70a687b44570fb6f (diff) | |
| download | rust-c852a5bb681d08796959818470ed5233bfa69edc.tar.gz rust-c852a5bb681d08796959818470ed5233bfa69edc.zip | |
std: expose the keyed HashMap constructor, for runtime-less use.
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.
Diffstat (limited to 'src/rt/sync/timer.cpp')
0 files changed, 0 insertions, 0 deletions
