diff --git a/docs/topics/functions.md b/docs/topics/functions.md index 817efc2e863..8c6e7c19d74 100644 --- a/docs/topics/functions.md +++ b/docs/topics/functions.md @@ -177,7 +177,7 @@ fun printHello(name: String?) { ... } ### Single-expression functions -When a function returns a single expression, the curly braces can be omitted and the body is specified after a `=` symbol: +When a function contains a single `return` expression, the curly braces can be omitted and the body is specified after a `=` symbol: ```kotlin fun double(x: Int): Int = x * 2