Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
danluu committed Apr 10, 2013
1 parent 4b7d363 commit ccae209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/rand.rs
Expand Up @@ -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
Expand Down

4 comments on commit ccae209

@bors
Copy link
Contributor

@bors bors commented on ccae209 Apr 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on ccae209 Apr 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging danluu/rust/rngdoc = ccae209 into auto

@bors
Copy link
Contributor

@bors bors commented on ccae209 Apr 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

danluu/rust/rngdoc = ccae209 merged ok, testing candidate = 89f9c8e5

@bors
Copy link
Contributor

@bors bors commented on ccae209 Apr 11, 2013

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.