diff options
| author | Dan Luu <danluu@gmail.com> | 2013-04-10 15:54:28 -0400 |
|---|---|---|
| committer | Dan Luu <danluu@gmail.com> | 2013-04-10 15:54:28 -0400 |
| commit | ccae209b0db58db1054ede13acfc79c84e0221f3 (patch) | |
| tree | 6f61a12603051eb18ec968ed745c061a2a73e2a9 | |
| parent | 4b7d3634955ca6c7f4632d2c74ccc0137438e744 (diff) | |
| download | rust-ccae209b0db58db1054ede13acfc79c84e0221f3.tar.gz rust-ccae209b0db58db1054ede13acfc79c84e0221f3.zip | |
Clarify comment
| -rw-r--r-- | src/libcore/rand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/rand.rs b/src/libcore/rand.rs index df08c370546..2ee280ff159 100644 --- a/src/libcore/rand.rs +++ b/src/libcore/rand.rs @@ -505,7 +505,7 @@ impl RngUtil for @Rng { self.next() & 1u32 == 1u32 } - /// Return a bool with a 1 in n chance of true + /// Return a bool with a 1-in-n chance of true fn gen_weighted_bool(&self, n: uint) -> bool { if n == 0u { true |
