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:
committed by
ven
parent
81a388747a
commit
d30d6f69ca
@@ -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.
|
||||
|
Reference in New Issue
Block a user