Skip to content

Commit

Permalink
more precise for inclusive range
Browse files Browse the repository at this point in the history
  • Loading branch information
krumelmonster committed Jul 28, 2015
1 parent 661a5ad commit 9699119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/trpl/guessing-game.md
Expand Up @@ -499,7 +499,7 @@ generator, which is local to the particular [thread][concurrency] of execution
we’re in. Because we `use rand::Rng`’d above, it has a `gen_range()` method
available. This method takes two arguments, and generates a number between
them. It’s inclusive on the lower bound, but exclusive on the upper bound,
so we need `1` and `101` to get a number between one and a hundred.
so we need `1` and `101` to get a number ranging from one to a hundred.

[concurrency]: concurrency.html

Expand Down

0 comments on commit 9699119

Please sign in to comment.