Skip to content

Commit

Permalink
Doc fix to match function name
Browse files Browse the repository at this point in the history
  • Loading branch information
triggerNZ committed Sep 5, 2019
1 parent f366a6d commit 833ace5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gen/shared/src/main/scala/nyaya/gen/Gen.scala
Expand Up @@ -138,7 +138,7 @@ final case class Gen[+A](run: Gen.Run[A]) extends AnyVal {
* This will ensure that only unique random data is used and that the resulting set has the desired size.
*
* This is dangerous in that it will block until it generates enough unique elements.
* For example, `Gen.bool.set(3)` will never return.
* For example, `Gen.bool.sizedSet(3)` will never return.
*/
def sizedSet[B >: A](implicit ss: SizeSpec): Gen[Set[B]] =
_sizedSet(ss.gen)
Expand All @@ -147,7 +147,7 @@ final case class Gen[+A](run: Gen.Run[A]) extends AnyVal {
* This will ensure that only unique random data is used and that the resulting set has the desired size.
*
* This is dangerous in that it will block until it generates enough unique elements.
* For example, `Gen.bool.set1(3)` will never return.
* For example, `Gen.bool.sizedSet1(3)` will never return.
*/
def sizedSet1[B >: A](implicit ss: SizeSpec): Gen[Set[B]] =
_sizedSet(ss.gen1)
Expand Down

0 comments on commit 833ace5

Please sign in to comment.