summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/kotlin-cn.html.markdown
diff options
context:
space:
mode:
authorJoão Vitor Verona Biazibetti <joaaoverona@gmail.com>2017-05-19 18:34:27 -0300
committerven <vendethiel@hotmail.fr>2017-05-19 23:34:27 +0200
commitd30d6f69ca07014efdce95d771403a43423d2143 (patch)
tree5311992d6c3bbab9ea0db1f1b5aa865f47644334 /zh-cn/kotlin-cn.html.markdown
parent81a388747a5e23b29e96b6624f5b919eb2ab46fa (diff)
[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)
Diffstat (limited to 'zh-cn/kotlin-cn.html.markdown')
-rw-r--r--zh-cn/kotlin-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/kotlin-cn.html.markdown b/zh-cn/kotlin-cn.html.markdown
index eb69156b..5d655029 100644
--- a/zh-cn/kotlin-cn.html.markdown
+++ b/zh-cn/kotlin-cn.html.markdown
@@ -38,7 +38,7 @@ fun main(args: Array<String>) {
所以我们不必要每次都去明确指定它。
我们可以像这样明确地声明一个变量的类型:
*/
- val foo : Int = 7
+ val foo: Int = 7
/*
可以采取和Java类似的方法来表示一个字符串。