about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-10-22 18:28:49 +1100
committerHuon Wilson <dbau.pp+github@gmail.com>2013-10-23 11:50:45 +1100
commit14a6a62a742e6aa79519dbc4300266df46f858f9 (patch)
tree7e5e852aec70fa5b326f4f4958d40175c91d424c /src/rt/sync/rust_thread.cpp
parentae0905ab67a2dd3def61e266bba9f8f223586af6 (diff)
downloadrust-14a6a62a742e6aa79519dbc4300266df46f858f9.tar.gz
rust-14a6a62a742e6aa79519dbc4300266df46f858f9.zip
std::rand: simplify/safe-ify the default Rng.fill_bytes.
The `&[u8]` -> `&[u64]` and `&[u32]` casts were not nice: they ignored
alignment requirements and are generally very unsafe.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions