summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--kotlin.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/kotlin.html.markdown b/kotlin.html.markdown
index 9bc8b420..6a6c1b66 100644
--- a/kotlin.html.markdown
+++ b/kotlin.html.markdown
@@ -109,7 +109,7 @@ fun helloWorld(val name : String) {
/*
When a function consists of a single expression then the curly brackets can
- be omitted. The body is specified after a = symbol.
+ be omitted. The body is specified after the = symbol.
*/
fun odd(x: Int): Boolean = x % 2 == 1
println(odd(6)) // => false
@@ -306,7 +306,7 @@ fun helloWorld(val name : String) {
println(result)
/*
- We can check if an object is a particular type by using the "is" operator.
+ We can check if an object is of a particular type by using the "is" operator.
If an object passes a type check then it can be used as that type without
explicitly casting it.
*/