From 9beafc7175dde10fb55f77f7ab1386ee9f8a1f14 Mon Sep 17 00:00:00 2001 From: Anatolii Kmetiuk Date: Fri, 5 Apr 2019 18:16:03 +0200 Subject: [PATCH] Fix typo in creator-applications.md --- docs/docs/reference/other-new-features/creator-applications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/reference/other-new-features/creator-applications.md b/docs/docs/reference/other-new-features/creator-applications.md index b6c94b336aa4..6f2c5a830008 100644 --- a/docs/docs/reference/other-new-features/creator-applications.md +++ b/docs/docs/reference/other-new-features/creator-applications.md @@ -7,7 +7,7 @@ Creator applications allow to use simple function call syntax to create instance of a class, even if there is no apply method implemented. Example: ```scala class StringBuilder(s: String) { - def this() = this(s) + def this() = this("") } StringBuilder("abc") // same as new StringBuilder("abc")