1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-10 16:54:33 +02:00

[Kotlin/all] Remove whitespace in variable declaration with explicit type (#2733)

* Removed whitespace in variable declaration with explicit type (Kotlin)

* Removed whitespace in variable declaration with explicit type (Kotlin translations)
This commit is contained in:
João Vitor Verona Biazibetti
2017-05-19 18:34:27 -03:00
committed by ven
parent 81a388747a
commit d30d6f69ca
5 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ fun main(args: Array<String>) {
so we don't have to explicitly specify it every time.
We can explicitly declare the type of a variable like so:
*/
val foo : Int = 7
val foo: Int = 7
/*
Strings can be represented in a similar way as in Java.