rand example fixup

This commit is contained in:
John Clements 2013-05-17 11:23:53 -07:00
parent c88f337fc9
commit be22fddba0

View File

@ -25,7 +25,7 @@
use core::rand::RngUtil;
fn main() {
let rng = rand::rng();
let mut rng = rand::rng();
if rng.gen() { // bool
println(fmt!("int: %d, uint: %u", rng.gen(), rng.gen()))
}