Skip to content

Commit 763f341

Browse files
Merge pull request #531 from vivekimsit/fixes-typo
Fixes typo.
2 parents 95e61ea + bf99f64 commit 763f341

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tutorials/tour/default-parameter-values.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,8 @@ Scala adds direct support for this:
5959
// overriding both
6060
val m3 = new HashMap[String,Int](20,0.8f)
6161

62-
// override only the loadFactory via
62+
// override only the loadFactor via
6363
// named arguments
6464
val m4 = new HashMap[String,Int](loadFactor = 0.8f)
6565

6666
Note how we can take advantage of *any* default value by using [named parameters]({{ site.baseurl }}/tutorials/tour/named-parameters.html).
67-

0 commit comments

Comments
 (0)