Skip to content

Commit ed05010

Browse files
committed
Iterator[A] does not take parameters
Fix by removing parens.
1 parent af467c7 commit ed05010

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/scalacheck/Cogen.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ object Cogen extends CogenArities with CogenLowPriority {
118118
Cogen[String].contramap(_.name)
119119

120120
implicit def cogenList[A: Cogen]: Cogen[List[A]] =
121-
Cogen.it(_.iterator())
121+
Cogen.it(_.iterator)
122122

123123
implicit def cogenVector[A: Cogen]: Cogen[Vector[A]] =
124124
Cogen.it(_.iterator)

0 commit comments

Comments
 (0)