diff options
| author | krumelmonster <krumelmonster@zoho.com> | 2015-07-28 19:22:20 +0200 |
|---|---|---|
| committer | krumelmonster <krumelmonster@zoho.com> | 2015-07-28 19:22:20 +0200 |
| commit | 9699119c5795f4f9aa27bc3eb8f2307c72163236 (patch) | |
| tree | 59d54fec9b12df483cefd19e3899edaf23020315 | |
| parent | 661a5ad38e79f336976b529aa717871d177ab7ed (diff) | |
| download | rust-9699119c5795f4f9aa27bc3eb8f2307c72163236.tar.gz rust-9699119c5795f4f9aa27bc3eb8f2307c72163236.zip | |
more precise for inclusive range
| -rw-r--r-- | src/doc/trpl/guessing-game.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md index 1784c253f7f..0cd4c60932a 100644 --- a/src/doc/trpl/guessing-game.md +++ b/src/doc/trpl/guessing-game.md @@ -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 |
