Clarify comment

This commit is contained in:
Dan Luu
2013-04-10 15:54:28 -04:00
parent 4b7d363495
commit ccae209b0d
+1 -1
View File
@@ -505,7 +505,7 @@ fn gen_bool(&self) -> bool {
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