Skip to content

Commit a92258f

Browse files
committed
Iterator[A] does not take parameters
Fix by removing parens.
1 parent 6f04d05 commit a92258f

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
@@ -114,7 +114,7 @@ object Cogen extends CogenArities with CogenLowPriority {
114114
Cogen[String].contramap(_.name)
115115

116116
implicit def cogenList[A: Cogen]: Cogen[List[A]] =
117-
Cogen.it(_.iterator())
117+
Cogen.it(_.iterator)
118118

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

0 commit comments

Comments
 (0)