From ccae209b0db58db1054ede13acfc79c84e0221f3 Mon Sep 17 00:00:00 2001 From: Dan Luu Date: Wed, 10 Apr 2013 15:54:28 -0400 Subject: [PATCH] Clarify comment --- src/libcore/rand.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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