Skip to content

Commit c4dc859

Browse files
Merge pull request #82 from dmarticus/fix-fpscala-docs
world's tiniest typo
2 parents 6a42405 + 909c24a commit c4dc859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/fpinscalalib/FunctionalStateSection.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ object FunctionalStateSection
4343
*
4444
* <b>Exercise 6.1:</b>
4545
*
46-
* Let's write a function that uses `RNG.nextInt` to generate a random integer between `0` and `Int.maxValue`, making
46+
* Let's write a function that uses `RNG.nextInt` to generate a random integer between `0` and `Int.MaxValue`, making
4747
* sure to handle the corner case when `nextInt` returns `Int.MinValue`, which doesn't have a non-negative
4848
* counterpart:
4949
*/

0 commit comments

Comments
 (0)