diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-24 22:29:19 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-04-24 22:34:19 +1000 |
| commit | 4a24f10ac6f155699f086051ba6a728d9afb5ca6 (patch) | |
| tree | c7711a4f4765283e35b2149d7e136afd3ab712a4 /src/rt/rust_run_program.cpp | |
| parent | 7b009210c66d6b62ca6be123b752b464f8f178e5 (diff) | |
| download | rust-4a24f10ac6f155699f086051ba6a728d9afb5ca6.tar.gz rust-4a24f10ac6f155699f086051ba6a728d9afb5ca6.zip | |
libcore: unify `gen_<type>` methods on `rand::RngUtil` into the generic `gen`.
This moves all the basic random value generation into the Rand instances for each type and then removes the `gen_int`, `gen_char` (etc) methods on RngUtil, leaving only the generic `gen` and the more specialised methods. Also, removes some imports that are redundant due to a `use core::prelude::*` statement.
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions
