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")