about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/rand.rs2
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