Skip to content

Commit 5ccf4a9

Browse files
authored
Merge pull request #122 from Yaskier/patch-3
typo fixed functional -> functions
2 parents eb81d98 + 0b0f779 commit 5ccf4a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/stdlib/NamedandDefaultArguments.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ object NamedandDefaultArguments
120120
myColor should equal(res0, res1, res2)
121121
}
122122

123-
/** Default parameters can be functional too:
123+
/** Default parameters can be functions too:
124124
*/
125125
def functionalDefaulParametersNamedandDefaultArguments(res0: Int, res1: Int) {
126126
def reduce(a: Int, f: (Int, Int) Int = _ + _): Int = f(a, a)

0 commit comments

Comments
 (0)