Skip to content

Commit

Permalink
Merge pull request #61 from textPreferred/patch-3
Browse files Browse the repository at this point in the history
Small textual change / Grammar
  • Loading branch information
raulraja committed Nov 4, 2016
2 parents f649432 + 1b96397 commit 9e332b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/stdlib/ByNameParameter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ object ByNameParameter extends FlatSpec with Matchers with org.scalaexercises.de
def takesUnitByNameParameter(res0: Either[Throwable, Int]) {
def calc(x: () Int): Either[Throwable, Int] = {
try {
Right(x()) //An explicit call the x function
Right(x()) //An explicit call of the x function
} catch {
case b: Throwable Left(b)
}
Expand Down

0 comments on commit 9e332b1

Please sign in to comment.