Skip to content

Commit ccae209

Browse files
committed
Clarify comment
1 parent 4b7d363 commit ccae209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/rand.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ impl RngUtil for @Rng {
505505
self.next() & 1u32 == 1u32
506506
}
507507

508-
/// Return a bool with a 1 in n chance of true
508+
/// Return a bool with a 1-in-n chance of true
509509
fn gen_weighted_bool(&self, n: uint) -> bool {
510510
if n == 0u {
511511
true

0 commit comments

Comments
 (0)