diff --git a/docs/topics/tour/kotlin-tour-functions.md b/docs/topics/tour/kotlin-tour-functions.md index 89f74e2947f..faf60ce69f1 100644 --- a/docs/topics/tour/kotlin-tour-functions.md +++ b/docs/topics/tour/kotlin-tour-functions.md @@ -71,7 +71,7 @@ you can write the parameters in any order. {type="tip"} ```kotlin -fun printMessageWithPrefix(message: String, prefix: String = "Info") { +fun printMessageWithPrefix(message: String, prefix: String) { println("[$prefix] $message") }