Skip to content

Commit 361b9fe

Browse files
authored
Merge pull request #1611 from Hirrolot/patch-1
Fix a typo in constructors-default-values.md
2 parents 126b47a + 3b7e6cf commit 361b9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala-book/constructors-default-values.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ As shown in the examples, a third benefit is that it lets consumers construct ne
6262

6363
## Bonus: Named parameters
6464

65-
Another nice thing about Scala is that you can used named parameters when creating a new instance of a class. For instance, given this class:
65+
Another nice thing about Scala is that you can use named parameters when creating a new instance of a class. For instance, given this class:
6666

6767
```scala
6868
class Socket(var timeout: Int, var linger: Int) {

0 commit comments

Comments
 (0)