Skip to content

Commit b96b35a

Browse files
Merge pull request #69 from tr4rex/validate-minor-fix
Fix minor bug in code snippet example
2 parents 7461054 + f0b18e7 commit b96b35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/catslib/Validated.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import ValidatedHelpers._
7070
* def apply[A](implicit A: Read[A]): Read[A] = A
7171
*
7272
* implicit val stringRead: Read[String] =
73-
* new Read[String] { def read(s: String): Option[String] = Some(s) }
73+
* new Read[String] { def read(s: String): Option[String] = Option(s) }
7474
*
7575
* implicit val intRead: Read[Int] =
7676
* new Read[Int] {

0 commit comments

Comments
 (0)