From dcfa2a7825a6d18b95df1260956f940722b62e66 Mon Sep 17 00:00:00 2001 From: mingqianye Date: Thu, 24 Jan 2019 16:18:28 -0500 Subject: [PATCH] Fixed typo in a sentence Removed redundant "you" --- src/main/scala/stdlib/ByNameParameter.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/stdlib/ByNameParameter.scala b/src/main/scala/stdlib/ByNameParameter.scala index a44473b9..db354522 100644 --- a/src/main/scala/stdlib/ByNameParameter.scala +++ b/src/main/scala/stdlib/ByNameParameter.scala @@ -11,7 +11,7 @@ import org.scalatest._ */ object ByNameParameter extends FlatSpec with Matchers with org.scalaexercises.definitions.Section { - /** `() => Int` is a Function type that takes a `Unit` type. `Unit` is known as `void` to a Java programmer. The function returns an `Int`. You can place this as a method parameter so that you can you use it as a block, but still it doesn't look quite right: + /** `() => Int` is a Function type that takes a `Unit` type. `Unit` is known as `void` to a Java programmer. The function returns an `Int`. You can place this as a method parameter so that you can use it as a block, but still it doesn't look quite right: */ def takesUnitByNameParameter(res0: Either[Throwable, Int]) { def calc(x: () ⇒ Int): Either[Throwable, Int] = {