Skip to content

Commit 9699119

Browse files
committed
more precise for inclusive range
1 parent 661a5ad commit 9699119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/guessing-game.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ generator, which is local to the particular [thread][concurrency] of execution
499499
we’re in. Because we `use rand::Rng`’d above, it has a `gen_range()` method
500500
available. This method takes two arguments, and generates a number between
501501
them. It’s inclusive on the lower bound, but exclusive on the upper bound,
502-
so we need `1` and `101` to get a number between one and a hundred.
502+
so we need `1` and `101` to get a number ranging from one to a hundred.
503503

504504
[concurrency]: concurrency.html
505505

0 commit comments

Comments
 (0)