Skip to content

Commit a1b40d5

Browse files
committed
core: Fix types in rand mod
1 parent c9f8ae0 commit a1b40d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/rand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ impl extensions for rng {
5959

6060
#[doc = "Return a random uint"]
6161
fn gen_uint() -> uint {
62-
self.gen_u64() as u64
62+
self.gen_u64() as uint
6363
}
6464

6565
#[doc = "Return a uint randomly chosen from the range [start, end], \

0 commit comments

Comments
 (0)