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-09-20 21:47:05 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-09-23 00:11:42 +1000
commitfb923c7d3f8b37661f49dc2d384749f0296896a0 (patch)
tree00511e56a20f9d041d0697e1b5c470d7ce680f77 /src/rt/sync/rust_thread.cpp
parent884c1e112de4f2d070357c9ed94543fb68de69e5 (diff)
downloadrust-fb923c7d3f8b37661f49dc2d384749f0296896a0.tar.gz
rust-fb923c7d3f8b37661f49dc2d384749f0296896a0.zip
std: merge rand::{Rng,RngUtil} with default methods.
Also, documentation & general clean-up:
- remove `gen_char_from`: better served by `sample` or `choose`.
- `gen_bytes` generalised to `gen_vec`.
- `gen_int_range`/`gen_uint_range` merged into `gen_integer_range` and
  made to be properly uniformly distributed. Fixes #8644.

Minor adjustments to other functions.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions