Skip to content

Commit 9e332b1

Browse files
authored
Merge pull request #61 from textPreferred/patch-3
Small textual change / Grammar
2 parents f649432 + 1b96397 commit 9e332b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/stdlib/ByNameParameter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ object ByNameParameter extends FlatSpec with Matchers with org.scalaexercises.de
1111
def takesUnitByNameParameter(res0: Either[Throwable, Int]) {
1212
def calc(x: () Int): Either[Throwable, Int] = {
1313
try {
14-
Right(x()) //An explicit call the x function
14+
Right(x()) //An explicit call of the x function
1515
} catch {
1616
case b: Throwable Left(b)
1717
}

0 commit comments

Comments
 (0)