From 3b7e6cfe8ea034d50c131391c2ea942b746433ee Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Sun, 5 Jan 2020 12:09:00 +0600 Subject: [PATCH] Fix a typo in constructors-default-values.md --- _overviews/scala-book/constructors-default-values.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala-book/constructors-default-values.md b/_overviews/scala-book/constructors-default-values.md index 0a77589c0f..f5ad4e4964 100644 --- a/_overviews/scala-book/constructors-default-values.md +++ b/_overviews/scala-book/constructors-default-values.md @@ -62,7 +62,7 @@ As shown in the examples, a third benefit is that it lets consumers construct ne ## Bonus: Named parameters -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: +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: ```scala class Socket(var timeout: Int, var linger: Int) {