about summary refs log tree commit diff
path: root/src/rt/sync/timer.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-08-01 18:11:25 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-08-03 21:00:32 +1000
commitc852a5bb681d08796959818470ed5233bfa69edc (patch)
treed4f27652e955076c7bc8c0030b1580b24c872489 /src/rt/sync/timer.cpp
parent39fafd655a85a2af9cddf59b70a687b44570fb6f (diff)
downloadrust-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