core: Fix types in rand mod
This commit is contained in:
parent
c9f8ae02bc
commit
a1b40d5136
|
@ -59,7 +59,7 @@ impl extensions for rng {
|
|||
|
||||
#[doc = "Return a random uint"]
|
||||
fn gen_uint() -> uint {
|
||||
self.gen_u64() as u64
|
||||
self.gen_u64() as uint
|
||||
}
|
||||
|
||||
#[doc = "Return a uint randomly chosen from the range [start, end], \
|
||||
|
|
Loading…
Reference in New Issue