Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libcore: unify
gen_<type>
methods on rand::RngUtil
into the gener…
…ic `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.
- Loading branch information