Skip to content

Commit

Permalink
Merge pull request #308 from NAThompson/patch-2
Browse files Browse the repository at this point in the history
Update generators_ref.md
  • Loading branch information
emil-e authored Aug 15, 2023
2 parents 2826446 + 8cf5db2 commit 1c91f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/generators_ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Generates strings. Essentially equivalent to `gen::container<String>(gen::charac

### `Gen<T> inRange(T min, T max)`

Generates an integer between `min` (inclusive) and `max` (exclusive). The part of the range that is used grows with size and when size is `0`, only `min` is generated. When shrinking, the value will shrink towards `min`.
Generates a value between `min` (inclusive) and `max` (exclusive). The part of the range that is used grows with size and when size is `0`, only `min` is generated. When shrinking, the value will shrink towards `min`.

```C++
// Example:
Expand Down

0 comments on commit 1c91f40

Please sign in to comment.